Date: Monday, November 23, 2020 @ 08:08:15 Author: eworm Revision: 401746
archrelease: copy trunk to testing-x86_64 Added: pkcs11-helper/repos/testing-x86_64/ pkcs11-helper/repos/testing-x86_64/PKGBUILD (from rev 401745, pkcs11-helper/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: pkcs11-helper/repos/testing-x86_64/PKGBUILD (from rev 401745, pkcs11-helper/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-11-23 08:08:15 UTC (rev 401746) @@ -0,0 +1,35 @@ +# Maintainer: +# Contributor: Stanislaw Datskevich <me a nek0 net> +# Contributor: Gregor Robinson <gre...@fiatflux.co.uk> +# Contributor: Martin Perner <martin dot perner at gmail dot com> + +pkgname=pkcs11-helper +pkgver=1.27.0 +pkgrel=1 +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 BSD) +depends=('gnutls' 'nss' 'openssl') +provides=('libpkcs11-helper.so') +source=("https://github.com/OpenSC/${pkgname}/releases/download/${pkgname}-${pkgver%.0}/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('653730f0c561bbf5941754c0783976113589b2dc64a0661c908dc878bfa4e58b') + +build() { + cd pkcs11-helper-$pkgver + libtoolize + aclocal + autoheader + automake --add-missing + autoreconf -v + ./configure --prefix=/usr + make +} + +package() { + cd pkcs11-helper-$pkgver + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/ + install -D -m0644 COPYING* "$pkgdir"/usr/share/licenses/$pkgname/ +} +