diff options
author | root <root@rshg054.dnsready.net> | 2012-07-04 00:02:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-04 00:02:00 +0000 |
commit | 298f654d4656dcc1e8d78c37dd77ae2ebfc1bf5f (patch) | |
tree | 9343bddcb82bf82a7188d512a151aa7fb7801479 /community/lxc | |
parent | 20bf19bd85f0a70a575491c17aa7354c1a8fd97d (diff) |
Wed Jul 4 00:01:59 UTC 2012
Diffstat (limited to 'community/lxc')
-rw-r--r-- | community/lxc/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD new file mode 100644 index 000000000..50a5118f0 --- /dev/null +++ b/community/lxc/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 73154 2012-07-02 12:50:42Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Andrea Zucchelli <zukka77@gmail.com> +# Contributor: Jonathan Liu <net147@gmail.com> +# Maintainer: Jon Nordby <jononor@gmail.com> + +pkgname=lxc +pkgver=0.8.0_rc1 +pkgrel=1 +pkgdesc="Linux Containers" +arch=('i686' 'x86_64') +url="http://lxc.sourceforge.net/" +depends=('bash' 'perl') +license=('LGPL') +source=("http://lxc.sourceforge.net/download/lxc/$pkgname-${pkgver/_/-}.tar.gz") +md5sums=('06ceecf4dbe1be988fc903ad8dd34d29') + +build() { + cd "$srcdir/$pkgname-${pkgver/_/-}" + + ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --libexecdir=/usr/bin \ + --sysconfdir=/etc \ + --disable-doc + make +} + +package() { + cd "$srcdir/$pkgname-${pkgver/_/-}" + + make DESTDIR="$pkgdir" install + install -d -m755 "$pkgdir/var/lib/lxc" + + cd doc + find . -type f -name '*.1' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man1/{}" \; + find . -type f -name '*.5' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man5/{}" \; + find . -type f -name '*.7' -exec install -D -m644 "{}" "$pkgdir/usr/share/man/man7/{}" \; +} |