updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / pam-afs-session / PKGBUILD
blob4148fcf861148309f11f69fae68bf45c21036845
1 # Contributor: Ryan Corder <ryanc@greengrey.org>
2 # Contributor: Lee Burton <lburton@mrow.org>
4 pkgname=pam-afs-session
5 pkgver=1.7
6 pkgrel=1
7 pkgdesc="A PAM module providing AFS Session Support."
8 url="http://www.eyrie.org/~eagle/software/pam-afs-session/"
9 arch=(i686)
10 license="custom"
11 depends=('heimdal>=1.0.0' 'pam')
12 source=("http://archives.eyrie.org/software/afs/$pkgname-$pkgver.tar.gz")
13 md5sums=('5d8554e88ca705d724cc8ddeb9e4ec79')
15 build() {
16     cd $startdir/src/$pkgname-$pkgver
18     ./configure --prefix=/usr --enable-reduced-depends || return 1
19     make || 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