[arch-commits] Commit in lib32-p11-kit/repos (2 files)

Jan Steffens heftig at archlinux.org
Fri Nov 14 09:09:21 UTC 2014


    Date: Friday, November 14, 2014 @ 10:09:20
  Author: heftig
Revision: 122545

archrelease: copy trunk to community-testing-x86_64

Added:
  lib32-p11-kit/repos/community-testing-x86_64/
  lib32-p11-kit/repos/community-testing-x86_64/PKGBUILD
    (from rev 122544, lib32-p11-kit/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: lib32-p11-kit/repos/community-testing-x86_64/PKGBUILD (from rev 122544, lib32-p11-kit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-11-14 09:09:20 UTC (rev 122545)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christoph Vigano <mail at cvigano.de>
+
+_pkgbasename=p11-kit
+pkgname=lib32-$_pkgbasename
+pkgver=0.22.1
+pkgrel=2
+pkgdesc="Library to work with PKCS#11 modules (32-bit)"
+arch=(x86_64)
+url="http://p11-glue.freedesktop.org"
+license=('BSD')
+depends=(lib32-glibc lib32-libtasn1 lib32-libffi $_pkgbasename)
+options=(!libtool)
+source=($url/releases/$_pkgbasename-$pkgver.tar.gz{,.sig})
+md5sums=('4e9bea1106628ffb820bdad24a819fac'
+         'SKIP')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  cd "$srcdir/$_pkgbasename-$pkgver"
+
+  ./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc \
+    --with-module-path=/usr/lib32/pkcs11 \
+    --with-trust-paths=/etc/ca-certificates/trust-source:/usr/share/ca-certificates/trust-source
+  make
+}
+
+check() {
+  cd "$srcdir/$_pkgbasename-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$_pkgbasename-$pkgver"
+  make DESTDIR="$pkgdir" install
+  rm -rf "${pkgdir}"/etc
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list