Date: Sunday, October 12, 2014 @ 11:46:45 Author: heftig Revision: 120566
archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-p11-kit/repos/multilib-testing-x86_64/ lib32-p11-kit/repos/multilib-testing-x86_64/PKGBUILD (from rev 120565, lib32-p11-kit/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: lib32-p11-kit/repos/multilib-testing-x86_64/PKGBUILD (from rev 120565, lib32-p11-kit/trunk/PKGBUILD) =================================================================== --- multilib-testing-x86_64/PKGBUILD (rev 0) +++ multilib-testing-x86_64/PKGBUILD 2014-10-12 09:46:45 UTC (rev 120566) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Florian Pritz <bluew...@xinu.at> +# Contributor: Christoph Vigano <m...@cvigano.de> + +_pkgbasename=p11-kit +pkgname=lib32-$_pkgbasename +pkgver=0.22.1 +pkgrel=1 +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 + 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: