updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / pam_ssh / PKGBUILD
blobb6969be21c22b55360e4726a909b5131bd540961
1 # Contributor: Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
2 # Contributor: bender02 at archlinux dot us
3 pkgname=pam_ssh
4 pkgver=1.97
5 pkgrel=3
6 pkgdesc="PAM module providing single sign-on behavior for SSH."
7 arch=('i686' 'x86_64')
8 url="http://pam-ssh.sourceforge.net/"
9 license=('custom')
10 depends=('pam' 'openssl' 'openssh')
11 options=(!libtool)
12 source=(http://downloads.sf.net/sourceforge/pam-ssh/$pkgname-$pkgver.tar.bz2
13         empty-pw-segfault-gentoo.patch
14         log.patch)
15 md5sums=('ef114d67b4951c88a62893437f850784'
16          '1a02c8ad6f27b7041fa22b0af51a615d'
17          '6e152ab561f6bb7586e3e76f5bbf34c6')
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
23   patch < $srcdir/log.patch
24   patch -p1 < $srcdir/empty-pw-segfault-gentoo.patch
26   ./configure --prefix=/usr
27   make
30 package() {
31   cd $srcdir/$pkgname-$pkgver
32   make DESTDIR="$pkgdir" install
34   install -m 644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING