summaryrefslogtreecommitdiff
path: root/community/clucene/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-22 11:12:08 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-22 11:12:08 -0300
commitd7695add933fbf29023c28037423606b722d30c9 (patch)
treefdf7ea74db0143fd047025b285e127cb62626ab8 /community/clucene/PKGBUILD
parente94fd638ac0deb5b18432dd1d04a053646d7918d (diff)
parent17dec629d8a13d1981d734ddc703efb5382ca309 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: kde-unstable/soprano/PKGBUILD testing/imagemagick/PKGBUILD
Diffstat (limited to 'community/clucene/PKGBUILD')
-rw-r--r--community/clucene/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/clucene/PKGBUILD b/community/clucene/PKGBUILD
new file mode 100644
index 000000000..d99078c74
--- /dev/null
+++ b/community/clucene/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 49740 2011-06-20 20:01:57Z andrea $
+# Maintainer:
+# 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"
+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')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../$pkgname-core-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}