1 TERMUX_PKG_HOMEPAGE
=http
://curl.haxx.se
/docs
/caextract.html
2 TERMUX_PKG_DESCRIPTION
="Common CA certificates"
3 TERMUX_PKG_VERSION
=20160122
4 TERMUX_PKG_PLATFORM_INDEPENDENT
=yes
6 termux_step_make_install
() {
7 CERTFILE
=$TERMUX_PKG_TMPDIR/cert.pem
8 curl
-o
$CERTFILE https
://raw.githubusercontent.com
/bagder
/ca-bundle
/master
/ca-bundle.crt
9 if grep -q
'SHA1: 0ab47e2f41518f8d223eab517cb799e5b071231e' $CERTFILE; then
10 CERT_DIR
=$TERMUX_PREFIX/etc
/tls
12 mv $CERTFILE $CERT_DIR/cert.pem
14 echo "Have https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt been updated?"