1 # Contributor: Ryan Corder <ryanc@greengrey.org>
2 # Contributor: Lee Burton <lburton@mrow.org>
4 pkgname=pam-afs-session
7 pkgdesc="A PAM module providing AFS Session Support."
8 url="http://www.eyrie.org/~eagle/software/pam-afs-session/"
11 depends=('heimdal>=1.0.0' 'pam')
12 source=("http://archives.eyrie.org/software/afs/$pkgname-$pkgver.tar.gz")
13 md5sums=('5d8554e88ca705d724cc8ddeb9e4ec79')
16 cd $startdir/src/$pkgname-$pkgver
18 ./configure --prefix=/usr --enable-reduced-depends || return 1
21 mkdir -m 0755 -p $startdir/pkg/lib/security || return 1
22 mkdir -m 0755 -p $startdir/pkg/usr/man/man5 || return 1
23 mkdir -m 0755 -p $startdir/pkg/usr/share/licenses/$pkgname || return 1
25 install -m 755 pam_afs_session.so $startdir/pkg/lib/security/pam_afs_session.so || return 1
26 install -m 644 pam_afs_session.5 $startdir/pkg/usr/man/man5 || return 1
27 install -m 644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/License.txt || return 1