updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / pam_yubico / PKGBUILD
blob731d659070b76a9f6c8c14be2f71d5b2b8348cd5
1 # Maintainer: Linus Karlsson <arch at zozs dot se>
2 # Contributor: Peter Hultqvist <endnode dot se>
3 pkgname=pam_yubico
4 pkgver=2.9
5 pkgrel=1
6 pkgdesc="Yubico Pluggable Authentication Module (PAM) "
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/yubico-pam/"
9 license=('custom:BSD')
10 depends=('glibc' 'ykclient' 'ykpers')
11 makedepends=('gcc' 'make')
12 source=(
13         http://yubico-pam.googlecode.com/files/$pkgname-$pkgver.tar.gz
15 sha1sums=('e76cef9e11ac2617fffa21326a5fee374b08ac2e')
17 build()
19         cd $srcdir/$pkgname-$pkgver/
20         ./configure --prefix=/usr --with-pam-dir=/lib/security || return 1
21         make || 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