aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates/APKBUILD
blob: 148573aee66611352f31f2cc3520f73af1a68f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
pkgver=20090814
pkgrel=2
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
arch="all"
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}+nmu2_all.deb
	"

build () {
	cd "$srcdir"
	ar x "$srcdir"/${pkgname}_${pkgver}+nmu2_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
}
md5sums="b633433e748279c6412f2ffe7e614303  ca-certificates_20090814+nmu2_all.deb"