summaryrefslogtreecommitdiff
path: root/community/clucene/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/clucene/PKGBUILD')
-rw-r--r--community/clucene/PKGBUILD35
1 files changed, 22 insertions, 13 deletions
diff --git a/community/clucene/PKGBUILD b/community/clucene/PKGBUILD
index d99078c74..87e7ffbcd 100644
--- a/community/clucene/PKGBUILD
+++ b/community/clucene/PKGBUILD
@@ -1,31 +1,40 @@
-# $Id: PKGBUILD 49740 2011-06-20 20:01:57Z andrea $
-# Maintainer:
+# $Id: PKGBUILD 60839 2011-12-18 22:57:14Z 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=1
-pkgdesc="A C++ port of Lucene: the high-performance, full-featured text search engine"
-arch=('i686' 'x86_64')
-url="http://clucene.sourceforge.net"
+pkgrel=2
+pkgdesc="C++ port of the high-performance text search engine Lucene"
+arch=('x86_64' 'i686')
+url="http://clucene.sourceforge.net/"
license=('APACHE' 'LGPL')
depends=('gcc-libs' 'zlib' 'boost-libs')
makedepends=('cmake' 'boost')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.gz")
-md5sums=('48d647fbd8ef8889e5a7f422c1bfda94')
+sha256sums=('ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab')
build() {
- cd "${srcdir}"
+ cd "$srcdir"
+
mkdir build
cd build
- cmake ../$pkgname-core-$pkgver \
+ cmake "../$pkgname-core-$pkgver" \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -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
}
package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/build"
+
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et: