summaryrefslogtreecommitdiffstats
path: root/abs/core/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/tdb')
-rw-r--r--abs/core/tdb/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/abs/core/tdb/PKGBUILD b/abs/core/tdb/PKGBUILD
index 4bf2af6..7739dc1 100644
--- a/abs/core/tdb/PKGBUILD
+++ b/abs/core/tdb/PKGBUILD
@@ -1,26 +1,35 @@
-# $Id: PKGBUILD 63109 2010-01-14 18:55:16Z tpowa $
+# $Id: PKGBUILD 89866 2010-09-04 14:37:32Z remy $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributorr: eric <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=tdb
-pkgver=1.2.0
-pkgrel=1
+pkgver=1.2.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')
-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.76.0/manpages/docbook.xsl"
+ sed -i "s#http.*xsl#$_manstyle#" tdb.mk
+
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc/samba
make || return 1
- make DESTDIR=$pkgdir/ install
}
-md5sums=('4115849d2ef431a10bc1f1933eafb9b6')
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+md5sums=('73ea81282a82e5c959d9c082af2d0215')
+