aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dovecot-fts-xapian/APKBUILD
blob: cf9c26a2d15f55e2f4420bb027bb0bb90fbfb74b (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
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=dovecot-fts-xapian
pkgver=1.3
pkgrel=1
pkgdesc="Dovecot xapian fts plugin"
url="https://github.com/grosjo/fts-xapian"
arch="all"
license="LGPL-2.1-or-later"
depends="dovecot xapian-core icu-libs"
makedepends="automake autoconf libtool dovecot-dev xapian-core-dev icu-dev sqlite-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/grosjo/fts-xapian/archive/$pkgver.tar.gz"
builddir="$srcdir/"fts-xapian-$pkgver

prepare() {
	default_prepare
	libtoolize
	autoreconf -vi
}

build() {
	PANDOC=false ./configure \
		--enable-static=no \
		--with-dovecot=/usr/lib/dovecot
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8d41fe6d6bc4bf0eafd030ec933ed06f2ca43c21fcb485767052686a6fa3742c1902e2dc3c47b9331844a2b21fef4e880bf26f3f4157f30bd8f5b733c8543c4d  dovecot-fts-xapian-1.3.tar.gz"