APKBUILD 868 Bytes
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
3
pkgver=20090814
4
pkgrel=1
5 6
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
7
arch="all"
8 9
license="MPL GPL"
depends="run-parts openssl"
10
install=ca-certificates.post-install
11
source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}+nmu2_all.deb
12 13 14 15
	"

build () {
	cd "$srcdir"
16
	ar x "$srcdir"/${pkgname}_${pkgver}+nmu2_all.deb || return 1
17 18 19 20 21 22 23 24 25 26 27 28
	tar -zxf ./data.tar.gz

	mkdir -p "$pkgdir"
	cp -Ra usr etc "$pkgdir"/
	(
	echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
	echo "# $(date -u)"
	echo "# Do not edit."
	cd "$pkgdir"/usr/share/ca-certificates
	find . -name '*.crt' | sort | cut -b3-
	) > "$pkgdir"/etc/ca-certificates.conf
}
29
md5sums="b633433e748279c6412f2ffe7e614303  ca-certificates_20090814+nmu2_all.deb"