1 # Maintainer: Linus Karlsson <arch at zozs dot se>
2 # Contributor: Peter Hultqvist <endnode dot se>
6 pkgdesc="Yubico Pluggable Authentication Module (PAM) "
8 url="http://code.google.com/p/yubico-pam/"
10 depends=('glibc' 'ykclient' 'ykpers')
11 makedepends=('gcc' 'make')
13 http://yubico-pam.googlecode.com/files/$pkgname-$pkgver.tar.gz
15 sha1sums=('e76cef9e11ac2617fffa21326a5fee374b08ac2e')
19 cd $srcdir/$pkgname-$pkgver/
20 ./configure --prefix=/usr --with-pam-dir=/lib/security || return 1
22 make DESTDIR="$pkgdir/" install || return 1
24 install -D -m0644 $srcdir/$pkgname-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING || return 1