1 # Maintainer: mickael9 <mickael9 at gmail dot com>
6 pkgdesc="PAM modules that enables either two-factor or password-less authentication using an USB storage device (such as an USB flash memory stick)"
7 url="http://www.pamusb.org/"
9 depends=(libxml2 pam pmount udisks dbus-python pygobject)
10 arch=('i686' 'x86_64')
11 backup=('etc/pamusb.conf')
12 md5sums=('f4e8f4fd864d4acca3cd2fd077e564dd')
13 source=(http://downloads.sourceforge.net/sourceforge/pamusb/$pkgname-$pkgver.tar.gz)
16 cd "$srcdir/$pkgname-$pkgver"
18 make LIBS="`pkg-config --libs libxml-2.0` `pkg-config --libs dbus-1` -lpam" || return 1
19 make DESTDIR="$pkgdir" install
21 sed -i 1s/python/python2/ "$pkgdir/usr/bin/pamusb-"{agent,conf}