# Maintainer: # Contributor: Stanislaw Datskevich # Contributor: Gregor Robinson # Contributor: Martin Perner pkgname=pkcs11-helper pkgver=1.30.0 pkgrel=2 pkgdesc='A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine' arch=('x86_64') url='https://github.com/OpenSC/pkcs11-helper' license=('GPL-2.0-only' 'BSD') depends=('gnutls' 'nss' 'openssl') makedepends=('git') provides=('libpkcs11-helper.so') source=("git+https://github.com/OpenSC/${pkgname}#tag=${pkgname}-${pkgver}") sha256sums=('9ad2b74ec2604fa41f87be143b375e82db72a954f99edf8df8ad684ea84f9adf') prepare() { cd "${pkgname}/" libtoolize aclocal autoheader automake --add-missing autoreconf -v } build() { cd "${pkgname}/" ./configure \ --prefix=/usr make } package() { cd "${pkgname}/" make DESTDIR="${pkgdir}" install mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}/ install -D -m0644 COPYING* "${pkgdir}"/usr/share/licenses/${pkgname}/ }