# Maintainer: Robert Falkenberg # Contributor: Massimiliano Torromeo # Contributor: Brian Bidulock # Contributor: Timothy Redaelli # Contributor: kevku # Contributor: Rene Pärts pkgname=libp11-static _pkgname=libp11 pkgver=0.4.12 pkgrel=1 pkgdesc="A library implementing a small layer on top of the PKCS11 API (with static libs)" arch=('x86_64') url="https://github.com/OpenSC/libp11/wiki" license=('LGPL') depends=('openssl') options=('staticlibs') provides=("libp11=$pkgver") conflicts=('libp11') source=("https://github.com/OpenSC/${_pkgname}/releases/download/${_pkgname}-${pkgver}/${_pkgname}-${pkgver}.tar.gz"{,.asc}) sha256sums=('1e1a2533b3fcc45fde4da64c9c00261b1047f14c3f911377ebd1b147b3321cfd' 'SKIP') validpgpkeys=('AC915EA30645D9D3D4DAE4FEB1048932DD3AAAA3') build() { cd "$_pkgname-$pkgver" export CFLAGS="-fPIC ${CFLAGS}" ./configure --prefix=/usr make } package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir/" install }