Subject: [PATCH] testing/dovecot-fts-xapian: new aport

From: Duncan Bellamy <[email-masked]>
Date: Mon, 27 Jan 2020 17:31:33 +0000

Add APKBUILD file for the upcomming fts xapian plugin for dovecot.
Builds with static files disabled.

https://github.com/grosjo/fts-xapian
Dovecot xapian fts plugin
testing/
---
 testing/dovecot-fts-xapian/APKBUILD | 32 +++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/dovecot-fts-xapian/APKBUILD

diff --git a/testing/dovecot-fts-xapian/APKBUILD b/testing/dovecot-fts-xapian/APKBUILD
new file mode 100644
index 0000000000..aff0f63e63
--- /dev/null
+++ b/testing/dovecot-fts-xapian/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Duncan Bellamy <[email-masked]>
+# Maintainer: Duncan Bellamy <[email-masked]>
+pkgname="dovecot-fts-xapian"
+pkgver="1.2.7"
+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
+
+build() {
+	libtoolize
+	autoreconf -vi
+	PANDOC=false ./configure \
+		--enable-static=no \
+		--with-dovecot=/usr/lib/dovecot
+	make
+}
+
+check() {
+	make check
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="85f115fa62b574bac8aa60a64b9f5da79eef721b332458b50df49c4e11c683ad08d7057a59b2b7a3a0909255ab606c56627d456a7ad2b56f019d00a5771d1fdc  dovecot-fts-xapian-1.2.7.tar.gz"
-- 
2.24.1