# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy 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"