1 # Contributor: Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
2 # Contributor: bender02 at archlinux dot us
6 pkgdesc="PAM module providing single sign-on behavior for SSH."
8 url="http://pam-ssh.sourceforge.net/"
10 depends=('pam' 'openssl' 'openssh')
12 source=(http://downloads.sf.net/sourceforge/pam-ssh/$pkgname-$pkgver.tar.bz2
13 empty-pw-segfault-gentoo.patch
15 md5sums=('ef114d67b4951c88a62893437f850784'
16 '1a02c8ad6f27b7041fa22b0af51a615d'
17 '6e152ab561f6bb7586e3e76f5bbf34c6')
21 cd "$srcdir/$pkgname-$pkgver"
23 patch < $srcdir/log.patch
24 patch -p1 < $srcdir/empty-pw-segfault-gentoo.patch
26 ./configure --prefix=/usr
31 cd $srcdir/$pkgname-$pkgver
32 make DESTDIR="$pkgdir" install
34 install -m 644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING