diff options
Diffstat (limited to 'libre/ca-certificates-utils/PKGBUILD')
-rw-r--r-- | libre/ca-certificates-utils/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libre/ca-certificates-utils/PKGBUILD b/libre/ca-certificates-utils/PKGBUILD new file mode 100644 index 000000000..8e502d92a --- /dev/null +++ b/libre/ca-certificates-utils/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 220624 2014-08-24 14:47:50Z heftig $ +# Maintainer (Arch): Pierre Schmitz <pierre@archlinux.de> + +pkgbase=ca-certificates +pkgname=ca-certificates-utils +pkgver=20140325 +pkgrel=0.2.parabola1 # build with 0.x only and keep this package on [libre] temporally until which Arch official package be moved from [testing] to some stable repo +pkgdesc='Common CA certificates (utilities)' +arch=('any') +url='http://packages.qa.debian.org/c/ca-certificates.html' +license=('MPL' 'GPL') +depends=('bash' 'run-parts' 'openssl' 'findutils' 'coreutils' 'sed') +makedepends=('python2') +backup=('etc/ca-certificates.conf') +install=ca-certificates-utils.install +provides=(ca-certificates) +source=("http://ftp.debian.org/debian/pool/main/c/${pkgbase}/${pkgbase}_${pkgver}.tar.xz" + confd.patch) +sha256sums=('c0e3d8c517995db2737f7f1a9b69d654b8823fa6d337871c6ce111fcf083454a' + '6a6efe688bd7f40dc57d07ad6bfdbb83f4853a1964c55e0620e833e6c2945dab') + +prepare() { + cd "${srcdir}/${pkgbase}" + patch -Np1 -i ../confd.patch +} + +package() { + cd "${srcdir}/${pkgbase}" + + install -d "${pkgdir}"/{etc/{ca-certificates/update.d,ssl/certs},usr/share/ca-certificates} + install -Dm644 sbin/update-ca-certificates.8 "${pkgdir}/usr/share/man/man8/update-ca-certificates.8" + install -D sbin/update-ca-certificates "${pkgdir}/usr/bin/update-ca-certificates" +} + +# vim:set noet ts=8 sw=8: |