summaryrefslogtreecommitdiff
path: root/community/lxc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxc/PKGBUILD')
-rw-r--r--community/lxc/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD
index d480fae5f..4dc3c6229 100644
--- a/community/lxc/PKGBUILD
+++ b/community/lxc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90274 2013-05-10 21:44:25Z thestinger $
+# $Id: PKGBUILD 91966 2013-05-30 13:14:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
@@ -8,25 +8,32 @@
pkgname=lxc
pkgver=0.9.0
epoch=1
-pkgrel=2
+pkgrel=3
pkgdesc="Linux Containers"
arch=('i686' 'x86_64' 'mips64el')
url="http://lxc.sourceforge.net/"
depends=('bash' 'perl' 'libseccomp')
+makedepends=('docbook2x')
+optdepends=('arch-install-scripts: for archlinux template')
license=('LGPL')
source=("http://lxc.sourceforge.net/download/lxc/$pkgname-${pkgver/_/-}.tar.gz")
md5sums=('8552a4479090616f4bc04d8473765fc9')
+prepare() {
+ cd "$srcdir/$pkgname-${pkgver/_/-}"
+ sed -i "s/for name in docbook2x-man db2x_docbook2man; do/for name in docbook2x-man db2x_docbook2man docbook2man; do/" configure.ac
+}
+
build() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
+ ./autogen.sh
./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --libexecdir=/usr/bin \
- --sysconfdir=/etc \
- --disable-apparmor \
- --disable-doc \
- --enable-seccomp
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-apparmor \
+ --enable-seccomp
make
}