Date: Wednesday, November 5, 2014 @ 17:15:04 Author: spupykin Revision: 121966
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: lucene++/repos/community-staging-i686/ lucene++/repos/community-staging-i686/PKGBUILD (from rev 121965, lucene++/trunk/PKGBUILD) lucene++/repos/community-staging-x86_64/ lucene++/repos/community-staging-x86_64/PKGBUILD (from rev 121965, lucene++/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) Copied: lucene++/repos/community-staging-i686/PKGBUILD (from rev 121965, lucene++/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-11-05 16:15:04 UTC (rev 121966) @@ -0,0 +1,43 @@ +# $Id$ +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Rafael Ferreira <joseph...@archlinux.info> + +pkgname=lucene++ +pkgver=3.0.6 +pkgrel=2 +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' 'subversion') +#source=(https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_$pkgver.tar.gz) +source=("$pkgname-$pkgver.tar.gz::https://github.com/luceneplusplus/LucenePlusPlus/archive/master.tar.gz") +md5sums=('b3663efc9a1d01839376c96a316d3e2f') + +prepare() { + mkdir build + sed -i \ + -e 's#SET(LUCENE++_VERSION_REVISION.*#SET(LUCENE++_VERSION_REVISION "5")#' \ + -e 's#SET(LUCENE++_VERSION_PATCH.*#SET(LUCENE++_VERSION_PATCH "0")#' \ + $srcdir/LucenePlusPlus-master/CMakeLists.txt +# $srcdir/LucenePlusPlus-rel_$pkgver/CMakeLists.txt +} + +build() { + cd build + +# cmake ../LucenePlusPlus-rel_$pkgver \ + cmake ../LucenePlusPlus-master \ + -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 +} Copied: lucene++/repos/community-staging-x86_64/PKGBUILD (from rev 121965, lucene++/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-11-05 16:15:04 UTC (rev 121966) @@ -0,0 +1,43 @@ +# $Id$ +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Rafael Ferreira <joseph...@archlinux.info> + +pkgname=lucene++ +pkgver=3.0.6 +pkgrel=2 +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' 'subversion') +#source=(https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_$pkgver.tar.gz) +source=("$pkgname-$pkgver.tar.gz::https://github.com/luceneplusplus/LucenePlusPlus/archive/master.tar.gz") +md5sums=('b3663efc9a1d01839376c96a316d3e2f') + +prepare() { + mkdir build + sed -i \ + -e 's#SET(LUCENE++_VERSION_REVISION.*#SET(LUCENE++_VERSION_REVISION "5")#' \ + -e 's#SET(LUCENE++_VERSION_PATCH.*#SET(LUCENE++_VERSION_PATCH "0")#' \ + $srcdir/LucenePlusPlus-master/CMakeLists.txt +# $srcdir/LucenePlusPlus-rel_$pkgver/CMakeLists.txt +} + +build() { + cd build + +# cmake ../LucenePlusPlus-rel_$pkgver \ + cmake ../LucenePlusPlus-master \ + -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 +}