blob: 9aaec901d35a24ef0fbe2f6cfe903401f812c90f (
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
|
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=dovecot-fts-xapian
pkgver=1.7.9
pkgrel=0
pkgdesc="Dovecot xapian fts plugin"
url="https://github.com/grosjo/fts-xapian"
arch="all"
license="LGPL-2.1-or-later"
depends="dovecot xapian-core"
makedepends="autoconf automake chrpath dovecot-dev icu-dev libtool sqlite-dev xapian-core-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/grosjo/fts-xapian/archive/$pkgver.tar.gz"
builddir="$srcdir/"fts-xapian-$pkgver
prepare() {
default_prepare
autoreconf -vif
}
build() {
PANDOC=false ./configure \
--enable-static=no \
--with-dovecot=/usr/lib/dovecot
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
chrpath -d "$pkgdir"/usr/lib/dovecot/lib21_fts_xapian_plugin.so
}
sha512sums="
9df23186648902c9ca38f861496bff3e00005096be960a138b7d20eb3baff2734e16949614d1207cce34f2d6626634f58b35ea2c0500e2981f05eea1ad9da718 dovecot-fts-xapian-1.7.9.tar.gz
"
|