Date: Sunday, January 5, 2014 @ 19:44:51 Author: bpiotrowski Revision: 103415
upgpkg: lucene++ 3.0.4-1 Modified: lucene++/trunk/PKGBUILD ----------+ PKGBUILD | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-01-05 18:34:04 UTC (rev 103414) +++ PKGBUILD 2014-01-05 18:44:51 UTC (rev 103415) @@ -9,8 +9,8 @@ arch=(i686 x86_64) url='https://github.com/luceneplusplus/LucenePlusPlus' license=('GPL' 'Apache') -depends=(boost-libs gcc-libs) -makedepends=(boost clang) +depends=('boost-libs' 'gcc-libs') +makedepends=('boost' 'cmake') source=($url/archive/rel_$pkgver.tar.gz 0001-Add-support-for-compiling-with-c-11.patch 0002-Turn-off-custom-allocator-by-default.patch @@ -21,29 +21,29 @@ '2c1758953b1b3d7c3c14c88b770bcb26') prepare() { - cd LucenePlusPlus-rel_$pkgver + mkdir build + + cd LucenePlusPlus-rel_$pkgver - # http://www.poedit.net/trac/ticket/568 - patch -p1 -i 0001-Add-support-for-compiling-with-c-11.patch - patch -p1 -i 0002-Turn-off-custom-allocator-by-default.patch - patch -p1 -i 0003-Fix-accidental-use-of-operator-instead-of-operator.patch - - mkdir build + # http://www.poedit.net/trac/ticket/568 + patch -p1 -i ../0001-Add-support-for-compiling-with-c-11.patch + patch -p1 -i ../0002-Turn-off-custom-allocator-by-default.patch + patch -p1 -i ../0003-Fix-accidental-use-of-operator-instead-of-operator.patch } build() { - cd LucenePlusPlus-rel_$pkgver + cd build - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_DESTINATION=/usr/lib \ - -DBoost_LIBRARY_DIR=/usr/lib \ - -DENABLE_CUSTOM_ALLOCATOR='FALSE' - - make + cmake ../LucenePlusPlus-rel_$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_DESTINATION=/usr/lib \ + -DBoost_LIBRARY_DIR=/usr/lib \ + -DENABLE_CUSTOM_ALLOCATOR='FALSE' + + make } package() { - cd LucenePlusPlus-rel_$pkgver/build - make DESTDIR="$pkgdir" install + cd build + make DESTDIR="$pkgdir" install }
