1 # Contributor: Andrea Zucchelli <zukka77@gmail.com>
2 # Contributor: Jonathan Liu <net147@gmail.com>
3 # Maintainer: Jon Nordby <jononor@gmail.com>
8 pkgdesc="Linux Containers"
10 url="http://lxc.sourceforge.net/"
11 depends=('bash' 'perl')
13 source=("http://lxc.sourceforge.net/download/lxc/$pkgname-$pkgver.tar.gz")
14 md5sums=('04949900ff56898f4353b130929c09d1')
17 cd "$srcdir/$pkgname-$pkgver"
19 ./configure --localstatedir=/var --prefix=/usr --libexecdir=/usr/bin --sysconfdir=/etc --disable-doc
24 cd "$srcdir/$pkgname-$pkgver"
26 make DESTDIR="$pkgdir" install
27 install -d -m755 "$pkgdir/var/lib/lxc"
29 find . -type f -name '*.1' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man1/{}" \;
30 find . -type f -name '*.5' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man5/{}" \;
31 find . -type f -name '*.7' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man7/{}" \;
33 # vim:set ts=2 sw=2 et: