blob: 66970147803debb7a3ac927d1e09570ff739c996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Robert Falkenberg <robert.falkenberg@srs.io>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Brian Bidulock <bidulock@openss7.org>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: kevku <kevku@msn.com>
# Contributor: Rene Pärts <rene87@hot.ee>
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
}
|