updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / jailkit / PKGBUILD
blobe0af1901005ba45006e9114bd79cb188988ac583
1 # Contributor: Michal Soltys <nozo@ziu.info>
2 # Contributor: William Kennington <webhostbudd@gmail.com>
4 pkgname=jailkit
5 pkgver=2.14
6 pkgrel=1
7 pkgdesc="Useful chroot tools"
8 arch=(i686 x86_64)
9 url="http://olivier.sessink.nl/jailkit"
10 license=('GPL')
11 depends=('glibc' 'python2')
12 backup=(etc/jailkit/jk_check.ini etc/jailkit/jk_chrootsh.ini etc/jailkit/jk_init.ini etc/jailkit/jk_lsh.ini etc/jailkit/jk_socketd.ini etc/jailkit/jk_update.ini)
13 source=(http://olivier.sessink.nl/jailkit/$pkgname-$pkgver.tar.gz)
14 install=jailkit.sh
15 md5sums=('05943b924520831ff44f1af4ac31d6c9')
17 build() {
18   cd "$startdir/src/$pkgname-$pkgver"
19   ./configure \
20         --prefix=/usr \
21         --mandir=/usr/share/man \
22         --sysconfdir=/etc \
23         --localstatedir=/var \
24         --libexecdir=/usr/lib/jailkit \
25         PYTHONINTERPRETER=/usr/bin/python2
27   make || return 1
29   make install DESTDIR=$startdir/pkg