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

Tobias Powalowski tpowa at archlinux.org
Mon Dec 1 21:25:05 UTC 2008


    Date: Monday, December 1, 2008 @ 16:25:05
  Author: tpowa
Revision: 20265

upgpkg: clucene 0.9.21b-1

Modified:
  clucene/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-01 21:22:38 UTC (rev 20264)
+++ PKGBUILD	2008-12-01 21:25:05 UTC (rev 20265)
@@ -3,7 +3,7 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=clucene
-pkgver=0.9.20
+pkgver=0.9.21b
 pkgrel=1
 pkgdesc="CLucene is a C++ port of Lucene: A high-performance, full-featured text search engine."
 arch=('i686' 'x86_64')
@@ -11,15 +11,15 @@
 license=('APACHE' 'LGPL')
 depends=('gcc-libs')
 makedepends=('libtool' 'autoconf' 'automake' 'doxygen')
-options=(!libtool)
 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.bz2)
 options=(!libtool)
 
 build() {
-  cd "$startdir/src/$pkgname-core-$pkgver"
-
+  cd ${srcdir}/$pkgname-core-$pkgver
+  # fix for some packages
+  CXXFLAGS="$CXXFLAGS -fPIC"
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR="$startdir/pkg" install
+  make DESTDIR=${pkgdir} install
 }
-md5sums=('da62da5d23b17fec67f0175481a603b8')
+md5sums=('ba1a8f764a2ca19c66ad907dddd88352')




More information about the arch-commits mailing list