mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer:
|
|
# Contributor: Stanislaw Datskevich <me a nek0 net>
|
|
# Contributor: Gregor Robinson <gregor@fiatflux.co.uk>
|
|
# Contributor: Martin Perner <martin dot perner at gmail dot com>
|
|
|
|
# remove when bumped upstream
|
|
|
|
pkgname=pkcs11-helper
|
|
pkgver=1.29.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')
|
|
options=('debug')
|
|
source=("https://github.com/OpenSC/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('996846a3c8395e03d8c0515111dc84d82e6e3648d44ba28cb2dbbbca2d4db7d6')
|
|
|
|
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/
|
|
}
|
|
|