diff options
Diffstat (limited to 'main/ca-certificates/APKBUILD')
-rw-r--r-- | main/ca-certificates/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD index 9bef26102..a39ab25e2 100644 --- a/main/ca-certificates/APKBUILD +++ b/main/ca-certificates/APKBUILD @@ -1,6 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ca-certificates -pkgver=20110502 +pkgver=20110502_p1 + +_date=${pkgver%_p*} +_nmu="+nmu${pkgver#*_p}" +[ "$_nmu" = "+nmu${pkgver}" ] && _nmu="" +_ver=${_date}${_nmu} + pkgrel=0 pkgdesc="Common CA certificates PEM files" url="http://packages.debian.org/sid/ca-certificates" @@ -8,9 +14,9 @@ arch="noarch" license="MPL GPL" depends="run-parts openssl" install=ca-certificates.post-install -source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.tar.gz +source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${_ver}.tar.gz " -_builddir="$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$_ver build () { cd "$_builddir" make || return 1 @@ -21,7 +27,7 @@ package() { install -d -m755 "$pkgdir"/etc/ca-certificates/update.d \ "$pkgdir"/usr/sbin \ "$pkgdir"/usr/share/ca-certificates \ - "$pkgdir"/,etc/ssl/certs \ + "$pkgdir"/etc/ssl/certs \ || return 1 make DESTDIR="$pkgdir" install || return 1 install -D -m644 sbin/update-ca-certificates.8 \ @@ -36,4 +42,4 @@ package() { find . -name '*.crt' | sort | cut -b3- ) > "$pkgdir"/etc/ca-certificates.conf } -md5sums="4216da872955cb73b077be68b6b5f975 ca-certificates_20110502.tar.gz" +md5sums="13aed718a5cdd05b4086c93dafd4e1e2 ca-certificates_20110502+nmu1.tar.gz" |