blob: 0008e6f8a6ee4c2c3572a5eead08986fb4badee2 (
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
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Oleg Smirnov <oleg.smirnov@gmail.com>
pkgname=pam_pkcs11
pkgver=0.6.12
pkgrel=1
pkgdesc='PAM module allows a X.509 certificate based user login'
arch=('i686' 'x86_64')
url='https://opensc.github.io/pam_pkcs11/'
license=('LGPL')
depends=('pcsclite')
backup=('etc/pam_pkcs11/pam_pkcs11.conf' 'etc/pam_pkcs11/subject_mapping' 'etc/pam_pkcs11/card_eventmgr.conf')
source=("https://github.com/OpenSC/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
md5sums=('40263f66e24fc21fb1964184728680a3')
build() {
cd ${pkgname}-${pkgname}-${pkgver}
./bootstrap
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ldap=no \
--without-docbook \
--disable-static
# --disable-debug # build is broken
make
}
package() {
cd ${pkgname}-${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/etc/pam_pkcs11/{cacerts,crls}
}
|