# Maintainer: Ionut Biru pkgname=p11-kit pkgver=0.18.4 pkgrel=2 pkgdesc="Library to work with PKCS#11 modules" arch=(i686 x86_64) url="http://p11-glue.freedesktop.org" license=('BSD') depends=('glibc' 'libtasn1') makedepends=('automake') #only needed until upstream pushes out a new release options=(!libtool) source=($url/releases/$pkgname-$pkgver.tar.gz{,.sig} 'with-module-config.diff::https://bugs.freedesktop.org/attachment.cgi?id=84099') #only needed until upstream pushes out a new release md5sums=('9535c4e5b9c2ef5f5cd0755115ba098b' 'SKIP' '6899438e3bfd51ea913982e55f778b78') build() { cd $pkgname-$pkgver patch -p1 < ../with-module-config.diff #only needed until upstream pushes out a new release aclocal #only needed until upstream pushes out a new release automake #only needed until upstream pushes out a new release ./configure --prefix=/usr --sysconfdir=/etc \ --with-module-path=/usr/lib/pkcs11 \ --with-module-config=/usr/lib/p11-kit/module-config make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } # vim:set ts=2 sw=2 et: