mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
|
# $Id: PKGBUILD 45448 2009-07-11 18:23:55Z pierre $
|
||
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||
|
|
||
|
pkgname=ca-certificates
|
||
|
pkgver=20090709
|
||
|
pkgrel=1
|
||
|
pkgdesc='Common CA certificates'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://packages.qa.debian.org/c/ca-certificates.html'
|
||
|
license=('MPL' 'GPL')
|
||
|
source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz")
|
||
|
depends=('bash' 'run-parts' 'openssl' 'findutils' 'coreutils' 'sed')
|
||
|
makedepends=('ruby')
|
||
|
install=ca-certificates.install
|
||
|
backup=('etc/ca-certificates.conf')
|
||
|
md5sums=('55ba562c19fc388cdc14cb560a828627')
|
||
|
|
||
|
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
|
||
|
}
|