PKGBUILDs/core/ca-certificates/PKGBUILD

32 lines
1 KiB
Bash
Raw Normal View History

2009-11-01 04:38:08 +00:00
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
2009-10-10 02:17:35 +00:00
pkgname=ca-certificates
pkgver=20090814
2009-10-10 02:17:35 +00:00
pkgrel=1
pkgdesc='Common CA certificates'
2009-11-01 15:22:38 +00:00
arch=('arm')
2009-10-10 02:17:35 +00:00
url='http://packages.qa.debian.org/c/ca-certificates.html'
license=('MPL' 'GPL')
depends=('bash' 'run-parts' 'openssl' 'findutils' 'coreutils' 'sed')
makedepends=('ruby')
install=ca-certificates.install
backup=('etc/ca-certificates.conf')
source=(https://launchpad.net/ubuntu/karmic/+source/ca-certificates/20090814/+files/ca-certificates_20090814.tar.gz)
md5sums=('307052c985bec7f9a00eb84293eef779')
2009-10-10 02:17:35 +00:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
install -d -m755 $pkgdir/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates}}
install -D -m644 sbin/update-ca-certificates.8 $pkgdir/usr/share/man/man8/update-ca-certificates.8
make
make install DESTDIR=$pkgdir
(
echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
echo "# "
cd $pkgdir/usr/share/ca-certificates
find . -name '*.crt' | sort | cut -b3-
) > $pkgdir/etc/ca-certificates.conf
}