summaryrefslogtreecommitdiff
path: root/community/clucene/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/clucene/PKGBUILD')
-rw-r--r--community/clucene/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/clucene/PKGBUILD b/community/clucene/PKGBUILD
index bc43ff644..57834619c 100644
--- a/community/clucene/PKGBUILD
+++ b/community/clucene/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 60839 2011-12-18 22:57:14Z arodseth $
+# $Id: PKGBUILD 62283 2012-01-19 00:04:00Z arodseth $
# Maintainer: Alexander Rødseth
# Contributor: Alois Nespor <alois.nespor@gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=clucene
pkgver=2.3.3.4
-pkgrel=2
+pkgrel=3
pkgdesc="C++ port of the high-performance text search engine Lucene"
arch=('i686' 'x86_64' 'mips64el')
url="http://clucene.sourceforge.net/"
@@ -17,6 +17,9 @@ sha256sums=('ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab')
build() {
cd "$srcdir"
+ sed 's:core:core -lclucene-shared:' \
+ -i "$pkgname-core-$pkgver/src/core/libclucene-core.pc.cmake"
+
mkdir build
cd build
cmake "../$pkgname-core-$pkgver" \
@@ -25,9 +28,6 @@ build() {
-DENABLE_ASCII_MODE=OFF \
-DENABLE_PACKAGING=OFF \
-DDISABLE_MULTITHREADING=OFF
- # The three lines above are from
- # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-cpp/clucene/clucene-2.3.3.4.ebuild
- # Thanks, Gentoo
make
}