Commit b7b2bf50 authored by Natanael Copa's avatar Natanael Copa
Browse files
parent f61c11fd
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment