core/p11-kit/PKGBUILD

32 lines
654 B
Bash
Raw Normal View History

2014-09-25 12:37:19 +08:00
pkgname=p11-kit
pkgver=0.21.3
2014-09-25 14:02:47 +08:00
pkgrel=2
2014-09-25 12:37:19 +08:00
pkgdesc="Library to work with PKCS#11 modules"
arch=(i686 x86_64)
url="http://p11-glue.freedesktop.org"
license=('BSD')
depends=('glibc' 'libtasn1' 'libffi')
source=($url/releases/$pkgname-$pkgver.tar.gz{,.sig})
md5sums=('6db518aa96f929182ee4d364f4f0c5df'
'SKIP')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
2014-09-25 14:02:47 +08:00
--with-module-path=/usr/lib/pkcs11
2014-09-25 12:37:19 +08:00
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
# vim:set ts=2 sw=2 et: