summaryrefslogtreecommitdiffstats
path: root/abs/core/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/p11-kit')
-rw-r--r--abs/core/p11-kit/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/p11-kit/PKGBUILD b/abs/core/p11-kit/PKGBUILD
new file mode 100644
index 0000000..639a279
--- /dev/null
+++ b/abs/core/p11-kit/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 154982 2012-04-01 07:46:19Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=p11-kit
+pkgver=0.12
+pkgrel=1
+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')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --with-module-path=/usr/lib/pkcs11
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+
+# vim:set ts=2 sw=2 et: