updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / compartment / PKGBUILD
blobc144db4d6e2eb070ed514269e8077cdb32496b53
1 # Contributor: Gergely Tamas <dice@mfa.kfki.hu>
2 pkgname=compartment
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc="Secure Compartment"
6 url="http://www.chronox.de/"
7 license="GPL"
8 depends=('glibc')
9 source=(http://www.chronox.de/chroot/compartment-$pkgver.tar.bz2 Makefile.diff compartment.c.diff)
10 md5sums=('2df15081f6475e6331cdd813f9d0918c' 'c310528ce6dda27a65928907d6250586'\
11          'b495c57060a2180592b4233df153f648')
13 build() {
14   cd $startdir/src/$pkgname
15   patch -p1 < $startdir/src/Makefile.diff
16   patch -p1 < $startdir/src/compartment.c.diff
17   make || return 1
18   make DESTDIR=$startdir/pkg install