summaryrefslogtreecommitdiffstats
path: root/abs/core/ca-certificates/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ca-certificates/PKGBUILD')
-rw-r--r--abs/core/ca-certificates/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/abs/core/ca-certificates/PKGBUILD b/abs/core/ca-certificates/PKGBUILD
index 4b35562..7409989 100644
--- a/abs/core/ca-certificates/PKGBUILD
+++ b/abs/core/ca-certificates/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 162841 2012-07-01 11:43:58Z pierre $
+# $Id: PKGBUILD 195211 2013-09-27 20:33:15Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=ca-certificates
-pkgver=20120623
+pkgver=20130906
pkgrel=1
pkgdesc='Common CA certificates'
arch=('any')
@@ -13,19 +13,24 @@ depends=('bash' 'run-parts' 'openssl' 'findutils' 'coreutils' 'sed')
makedepends=('python2')
install='ca-certificates.install'
backup=('etc/ca-certificates.conf')
-sha256sums=('878cd1130ba056fe5f96decde7e5fc1b71d35eb8565a1515744912e100731ee9')
+sha256sums=('dd10520091d469e95e11e5fafb7422d3be0a66071984d09009ed3e0232cb277d')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ cd ${srcdir}/${pkgname}
sed 's|/usr/bin/python|/usr/bin/python2|g' -i mozilla/certdata2pem.py
sed 's|python|python2|g' -i mozilla/Makefile
+}
+
+build() {
+ cd ${srcdir}/${pkgname}
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}
install -d -m755 ${pkgdir}/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
make install DESTDIR=${pkgdir}
+ mv ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
install -D -m644 sbin/update-ca-certificates.8 ${pkgdir}/usr/share/man/man8/update-ca-certificates.8
(