diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/tdb/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/core/tdb/gcc3.patch | 41 |
2 files changed, 13 insertions, 54 deletions
diff --git a/abs/core/tdb/PKGBUILD b/abs/core/tdb/PKGBUILD index 44f1e69..ffa330b 100644 --- a/abs/core/tdb/PKGBUILD +++ b/abs/core/tdb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 89866 2010-09-04 14:37:32Z remy $ +# $Id: PKGBUILD 116933 2011-03-26 14:55:24Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> -# Contributorr: eric <eric@archlinux.org> +# Contributor: eric <eric@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=tdb -pkgver=1.2.1 -pkgrel=3 +pkgver=1.2.9 +pkgrel=1 pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits" arch=(i686 x86_64) license=('GPL3') @@ -13,23 +13,23 @@ url="http://tdb.samba.org/" source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz) makedepends=('python2' 'libxslt' 'docbook-xsl') optdepends=('python2: for python bindings') -options=(force) +epoch=1 build() { cd ${srcdir}/${pkgname}-${pkgver} - sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure + sed -i -e 's#python#python2#g' buildtools/bin/waf + #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 - + #_manstyle="/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl" + #sed -i "s#http.*xsl#$_manstyle#" tdb.mk ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc/samba - make || return 1 + make } + package() { cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + make DESTDIR=$pkgdir/ install } -md5sums=('73ea81282a82e5c959d9c082af2d0215') - +md5sums=('4d97d18bbe9040038d4e003495bb8cd1') diff --git a/abs/core/tdb/gcc3.patch b/abs/core/tdb/gcc3.patch deleted file mode 100644 index c88c2e7..0000000 --- a/abs/core/tdb/gcc3.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- tdb-1.0.6/tdbtool.c 2001-12-10 22:45:47.000000000 -0500 -+++ ./tdbtool.c 2003-12-31 19:44:50.000000000 -0500 -@@ -169,22 +169,22 @@ - - static void help(void) - { -- printf(" --tdbtool: -- create dbname : create a database -- open dbname : open an existing database -- erase : erase the database -- dump dumpname : dump the database as strings -- insert key data : insert a record -- store key data : store a record (replace) -- show key : show a record by key -- delete key : delete a record by key -- list : print the database hash table and freelist -- free : print the database freelist -- 1 | first : print the first record -- n | next : print the next record -- q | quit : terminate -- \\n : repeat 'next' command -+ printf("\ -+tdbtool: \ -+ create dbname : create a database\ -+ open dbname : open an existing database\ -+ erase : erase the database\ -+ dump dumpname : dump the database as strings\ -+ insert key data : insert a record\ -+ store key data : store a record (replace)\ -+ show key : show a record by key\ -+ delete key : delete a record by key\ -+ list : print the database hash table and freelist\ -+ free : print the database freelist\ -+ 1 | first : print the first record\ -+ n | next : print the next record\ -+ q | quit : terminate\ -+ \\n : repeat 'next' command\ - "); - } - |