# Maintainer: Hiroshi Hatake pkgname=('groonga' 'groonga-doc') pkgver=10.0.9 pkgbase=groonga pkgrel=4 arch=('i686' 'x86_64') url="http://groonga.org/" license=('LGPL2.1') source=("http://packages.groonga.org/source/groonga/$pkgbase-$pkgver.tar.gz" "groonga-httpd.service") build() { # TODO: Enable to build arrow on AArch64/armv7h # TODO: grpc 1.28+ is currently causing issues to build arrow. # Currently, this line should be specifying to disable using arrow. cd $srcdir/$pkgbase-$pkgver ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --sbindir=/usr/bin \ --with-default-encoding=utf8 \ --with-zlib \ --with-lz4 \ --disable-arrow \ --enable-message-pack \ --enable-shared=yes \ --enable-static=yes \ --with-mecab \ --enable-mruby make } package_groonga-doc() { pkgsec="Document for Groonga" arch=('any') cd $srcdir/$pkgbase-$pkgver/doc make DESTDIR="$pkgdir" install } package_groonga() { pkgdesc="An opensource fulltext search engine." depends=('glib2' 'libedit' 'zeromq' 'autoconf-archive' 'libevent' 'mecab-ipadic' 'msgpack-c' 'ruby' 'snowball-c-git') optdepends=('cutter-test_framework' 'mercurial' 'kytea' 'arrow') cd $srcdir/$pkgbase-$pkgver make DESTDIR="$pkgdir" install # cleanup rm -r "${pkgdir}/var/run" # delete documents rm -r "${pkgdir}/usr/share/doc" install -Dm644 ../groonga-httpd.service "$pkgdir"/usr/lib/systemd/system/groonga-httpd.service } sha1sums=('ded2b0fa47c53f348d15ebfe51e0e0cc4947b1ed' '56b68b5ebfc6785f08ce101b263d6f56acd74d8a') sha256sums=('33358afc3e978ce526792bb8508c6d77de046193845793a88c66a26d15563aa4' '4d3f91b40b37ab473b716c6c303c1e58ca7b3f777439fc4c055be80d04ffa65b')