mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 02:34:38 +08:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# $Id: PKGBUILD 76140 2010-04-07 22:28:05Z pierre $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgname=ca-certificates
|
|
pkgver=20090814
|
|
pkgrel=3
|
|
pkgdesc='Common CA certificates'
|
|
arch=('any')
|
|
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' 'python')
|
|
install=ca-certificates.install
|
|
backup=('etc/ca-certificates.conf')
|
|
md5sums=('307052c985bec7f9a00eb84293eef779')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
install -d -m755 $pkgdir/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
|
|
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 "# see update-ca-certificates man page"
|
|
echo "# "
|
|
cd $pkgdir/usr/share/ca-certificates
|
|
find . -name '*.crt' | sort | cut -b3-
|
|
) > $pkgdir/etc/ca-certificates.conf
|
|
}
|