2 # Contributor: Stanislaw Datskevich <me a nek0 net>
3 # Contributor: Gregor Robinson <gregor@fiatflux.co.uk>
4 # Contributor: Martin Perner <martin dot perner at gmail dot com>
9 pkgdesc='A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine'
11 url='https://github.com/OpenSC/pkcs11-helper'
13 depends=('gnutls' 'nss' 'openssl')
14 provides=('libpkcs11-helper.so')
16 source=("https://github.com/OpenSC/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
17 sha256sums=('996846a3c8395e03d8c0515111dc84d82e6e3648d44ba28cb2dbbbca2d4db7d6')
20 cd pkcs11-helper-$pkgver
25 automake --add-missing
27 ./configure --prefix=/usr
32 cd pkcs11-helper-$pkgver
34 make DESTDIR="$pkgdir" install
35 mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/
36 install -D -m0644 COPYING* "$pkgdir"/usr/share/licenses/$pkgname/