blob: 4ce234302ebe6940f6b56321fb88d0ca040982e0 (
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
32
33
34
35
36
|
# $Id: PKGBUILD 105220 2014-02-02 21:53:42Z eric $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Rafael Ferreira <josephgbr@archlinux.info>
pkgname=lucene++
pkgver=3.0.5
pkgrel=1
pkgdesc='C++ port of the popular Java Lucene library'
arch=(i686 x86_64)
url='https://github.com/luceneplusplus/LucenePlusPlus'
license=('GPL' 'Apache')
depends=('boost-libs')
makedepends=('boost' 'cmake')
source=(https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_$pkgver.tar.gz)
md5sums=('da785510716a759d7d37a2ee52cb8140')
prepare() {
mkdir build
}
build() {
cd build
cmake ../LucenePlusPlus-rel_$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib \
-DBoost_LIBRARY_DIR=/usr/lib \
-DENABLE_CUSTOM_ALLOCATOR='FALSE'
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|