[arch-commits] Commit in lxc/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 30 09:14:02 EDT 2013


    Date: Thursday, May 30, 2013 @ 15:14:01
  Author: spupykin
Revision: 91965

upgpkg: lxc 1:0.9.0-3

upd

Modified:
  lxc/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 12:48:39 UTC (rev 91964)
+++ PKGBUILD	2013-05-30 13:14:01 UTC (rev 91965)
@@ -8,24 +8,31 @@
 pkgname=lxc
 pkgver=0.9.0
 epoch=1
-pkgrel=2
+pkgrel=3
 pkgdesc="Linux Containers"
 arch=('i686' 'x86_64')
 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
   make
 }



More information about the arch-commits mailing list