APKBUILD 915 Bytes
Newer Older
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
3 4
pkgver=20090709
pkgrel=0
5 6 7 8
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
license="MPL GPL"
depends="run-parts openssl"
9
install=ca-certificates.post-install
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}_all.deb
	$install
	"

build () {
	cd "$srcdir"
	ar x "$srcdir"/${pkgname}_${pkgver}_all.deb || return 1
	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="72c284149d15b336a1758af819192d21  ca-certificates_20090709_all.deb
30
83a92f371137ac9f046c94452bf17058  ca-certificates.post-install"