[arch-commits] Commit in tdb/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Tue Dec 21 10:44:54 UTC 2010
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 <tpowa at archlinux.org>
-# Contributorr: eric <eric at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
# Contributor: Tom Newsom <Jeepster at 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')
More information about the arch-commits
mailing list