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

Rémy Oudompheng remy at archlinux.org
Sat Sep 4 14:37:33 UTC 2010


    Date: Saturday, September 4, 2010 @ 10:37:32
  Author: remy
Revision: 89866

upgpkg: tdb 1.2.1-2
Rebuild for python 2.7

Modified:
  tdb/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-04 14:26:07 UTC (rev 89865)
+++ PKGBUILD	2010-09-04 14:37:32 UTC (rev 89866)
@@ -5,18 +5,23 @@
 
 pkgname=tdb
 pkgver=1.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits"
 arch=(i686 x86_64)
 license=('GPL3')
 url="http://tdb.samba.org/"
 source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-makedepends=('python' 'libxslt')
-optdepends=('python: for python bindings')
+makedepends=('python2' 'libxslt' 'docbook-xsl')
+optdepends=('python2: for python bindings')
 options=(force)
 
 build() {
    cd ${srcdir}/${pkgname}-${pkgver}
+   sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
+   # Use system docbook.xsl
+   _manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl"
+   sed -i "s#http.*xsl#$_manstyle#" tdb.mk
+
    ./configure --prefix=/usr \
                --localstatedir=/var \
                --sysconfdir=/etc/samba




More information about the arch-commits mailing list