summaryrefslogtreecommitdiff
path: root/community/clucene/PKGBUILD
blob: d99078c7445e2e33bd1a6783194c7207316b3f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}