summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-09-23 00:14:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-09-23 00:14:13 (GMT)
commitf71e002e46efe03078d1fdb4b9461ed72dd7658c (patch)
tree66712e27f32af36397eb9f30b0e144ba1d84ad44
parent4b74af3a1a584a48b2aa6cb866137e2509a89706 (diff)
downloadlinhes_pkgbuild-f71e002e46efe03078d1fdb4b9461ed72dd7658c.zip
linhes_pkgbuild-f71e002e46efe03078d1fdb4b9461ed72dd7658c.tar.gz
linhes_pkgbuild-f71e002e46efe03078d1fdb4b9461ed72dd7658c.tar.bz2
p11-kit: update to 20.7
-rw-r--r--abs/core/p11-kit/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/core/p11-kit/PKGBUILD b/abs/core/p11-kit/PKGBUILD
index 639a279..6c74929 100644
--- a/abs/core/p11-kit/PKGBUILD
+++ b/abs/core/p11-kit/PKGBUILD
@@ -1,27 +1,33 @@
-# $Id: PKGBUILD 154982 2012-04-01 07:46:19Z ibiru $
+# $Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=p11-kit
-pkgver=0.12
-pkgrel=1
+pkgver=0.20.7
+pkgrel=2
pkgdesc="Library to work with PKCS#11 modules"
arch=(i686 x86_64)
url="http://p11-glue.freedesktop.org"
license=('BSD')
-depends=(glibc)
-options=(!libtool)
-source=($url/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('66baf7ddde982d1b7294d3bd63be7446')
+depends=('glibc' 'libtasn1' 'libffi')
+source=($url/releases/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('6648cad01a3080b685b8b3bf7372c91a'
+ 'SKIP')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
- --with-module-path=/usr/lib/pkcs11
+ --with-module-path=/usr/lib/pkcs11 \
+ --with-trust-paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source
make
}
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}