summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 45a8d88230bea4bdd04ee1b854e49c3ae6a067cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=pam_p11
pkgver=0.3.1
pkgrel=1
pkgdesc="PAM module for using crpytographic tokens such as smart cards and usb crypto tokens for authentication"
url="https://github.com/OpenSC/pam_p11"
arch=('x86_64' 'i686')
license=('LGPL')
depends=('pkgconf' 'openssl' 'libp11' 'pam' )
source=("https://github.com/OpenSC/pam_p11/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('f6add2ba4acd3c54995eae2a1a91860943dc696ffd2beb4c3e1dc434fb4405c9')

build() {
  cd "$pkgname-$pkgver"
  ./configure --libdir=/usr/lib --disable-static
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}