# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname="dovecot-fts-xapian" pkgver="1.2.10" 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="automake autoconf libtool dovecot-dev xapian-core-dev icu-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="29aedcb66e2abc941d4e916487f6ce01824e76b5ed688fb1f4423cfcbcc4386a4a01be23ebb3c6dc9d8d10f1a1e0e0ea907234fe64b5e8715957e98849d82fbc dovecot-fts-xapian-1.2.10.tar.gz"