updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / pam_chroot / PKGBUILD
blob7caa8b1652a94f64b690ef6a9a1cfe58fc9f9b67
1 pkgname=pam_chroot
2 pkgver=0.9.2
3 pkgrel=1
4 pkgdesc="allows chroot users"
5 arch=(i686 x86_64)
6 url="http://sourceforge.net/projects/pam-chroot/files/"
7 license=('GPL2')
8 depends=(pam)
9 backup=(etc/security/chroot.conf)
10 source=(http://downloads.sourceforge.net/project/pam-chroot/pam-chroot/v$pkgver/pam_chroot-$pkgver.tar.bz2)
11 md5sums=('03b224b113fed5f58cca2ca5cde0aa8b')
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   make LDFLAGS= || return 1
18   install -D -m0755 pam_chroot.so $pkgdir/lib/security/pam_chroot.so && \
19   install -D -m0644 chroot.conf $pkgdir/etc/security/chroot.conf && \
20   install -D -m0644 CREDITS $pkgdir/usr/share/doc/pam_chroot/CREDITS && \
21   install -D -m0644 options $pkgdir/usr/share/doc/pam_chroot/options && \
22   install -D -m0644 README.history $pkgdir/usr/share/doc/pam_chroot/README.history && \
23   install -D -m0644 TROUBLESHOOTING $pkgdir/usr/share/doc/pam_chroot/TROUBLESHOOTING