Date: Tuesday, December 21, 2010 @ 05:44:54
  Author: andrea
Revision: 103543

fix build (FS#21909)

Modified:
  tdb/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-12-21 10:38:04 UTC (rev 103542)
+++ PKGBUILD    2010-12-21 10:44:54 UTC (rev 103543)
@@ -1,6 +1,6 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tp...@archlinux.org>
-# Contributorr: eric <e...@archlinux.org>
+# Contributor: eric <e...@archlinux.org>
 # Contributor: Tom Newsom <jeeps...@gmx.co.uk>
 
 pkgname=tdb
@@ -13,19 +13,22 @@
 source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 makedepends=('python2' 'libxslt' 'docbook-xsl')
 optdepends=('python2: for python bindings')
-options=(force)
+md5sums=('73ea81282a82e5c959d9c082af2d0215')
 
 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"
+   
_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
 }
-md5sums=('73ea81282a82e5c959d9c082af2d0215')

Reply via email to