pkgname: clucene pkgver: '2.3.3.4' pkgrel: '3' pkgdesc: 'CLucene is a C++ version of Lucene, a high performance text search engine.' url: 'https://clucene.sourceforge.net' arch: x86_64 depends: [] makedepends: - cmake source: - 'https://downloads.sourceforge.net/clucene/${pkgname}/${pkgname}-core-${pkgver}.tar.gz' - 'https://www.linuxfromscratch.org/patches/blfs/svn/${pkgname}-${pkgver}-contribs_lib-1.patch' sha256sums: - SKIP - SKIP build: | cd ${pkgname}-${pkgver} patch -Np1 -i ../${pkgname}-${pkgver}-contribs_lib-1.patch sed -i '/Misc.h/a #include ' src/core/CLucene/document/DateTools.cpp mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_CONTRIBS_LIB=ON .. make make DESTDIR=${PKGDIR} install package: | true