# $Id: PKGBUILD 60839 2011-12-18 22:57:14Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Alois Nespor # Contributor: Tobias Powalowski pkgname=clucene pkgver=2.3.3.4 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") sha256sums=('ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab') build() { cd "$srcdir" mkdir build cd build cmake "../$pkgname-core-$pkgver" \ -DCMAKE_BUILD_TYPE=Release \ -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 } # vim:set ts=2 sw=2 et: