# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=dovecot-fts-xapian pkgver=1.5.5 pkgrel=7 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=" 229362207bfa7bb13b1ded4d8b2a2aef7a4a72306e140dc4bd5778991220b27d296ca3659993856f83c80c437f7feadebad1e3ac06f8120a6e45b69f6dbb1ecb dovecot-fts-xapian-1.5.5.tar.gz "