blob: 3197c9391e6accb50ecf7c44df678265a521015a (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: Hiroshi Hatake <cosmo0920.wp[at]gmail.com>
pkgname=('groonga' 'groonga-doc')
pkgver=14.0.4
pkgbase=groonga
pkgrel=1
arch=('i686' 'x86_64')
url="http://groonga.org/"
license=('LGPL2.1')
source=("http://packages.groonga.org/source/groonga/$pkgbase-$pkgver.tar.gz"
"http://packages.groonga.org/source/groonga/$pkgbase-$pkgver.tar.gz.asc"
"groonga-httpd.service")
makedepends=('glib2' 'libedit' 'zeromq' 'autoconf-archive' 'libstemmer'
'libevent' 'mecab' 'mecab-ipadic' 'msgpack-c' 'ruby')
validpgpkeys=(2701F317CFCCCB975CADE9C2624CF77434839225)
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() {
pkgdesc="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' 'libstemmer')
optdepends=('cutter-test_framework' 'mercurial' 'kytea' 'arrow')
cd $srcdir/$pkgbase-$pkgver
make DESTDIR="$pkgdir" install
# cleanup
rm -rf "${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=('36048b6620991e5a7e47a35adf65ae6c7dd62454'
'SKIP'
'56b68b5ebfc6785f08ce101b263d6f56acd74d8a')
sha256sums=('f29a6e88401cdb90437164a22f6f1e8467dd6ab9c1738be71933be9cb97a46c6'
'SKIP'
'4d3f91b40b37ab473b716c6c303c1e58ca7b3f777439fc4c055be80d04ffa65b')
|