blob: 7798a4bd5071e8d9b4ac14242f52570ced7f75a6 (
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
37
38
39
40
41
|
pkgname=groonga
pkgver=7.0.4
pkgrel=1
pkgdesc="An opensource fulltext search engine."
arch=('i686' 'x86_64' 'armv7h')
url="http://groonga.org/"
license=('LGPL2')
source=("http://packages.groonga.org/source/groonga/$pkgname-$pkgver.tar.gz"
"groonga-httpd.service")
depends=('zlib' 'lz4' 'glib2' 'libedit' 'zeromq' 'libevent' 'mecab' 'mecab-ipadic')
optdepends=('cutter-test_framework' 'ruby' 'mercurial' 'kytea' 'snowball-c')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--with-default-encoding=utf8 \
--with-zlib \
--with-lz4 \
--without-stemmer \
--enable-shared=yes \
--enable-static=yes \
--with-mecab \
--with-mruby
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
# cleanup
rm -r "${pkgdir}/var/run"
install -Dm644 ../groonga-httpd.service "$pkgdir"/usr/lib/systemd/system/groonga-httpd.service
}
sha1sums=('80848570d91dc7a4481aa9c6b505f5eff0208daf'
'56b68b5ebfc6785f08ce101b263d6f56acd74d8a')
|