summaryrefslogtreecommitdiff
path: root/community-testing/pigeonhole
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/pigeonhole')
-rw-r--r--community-testing/pigeonhole/PKGBUILD40
-rw-r--r--community-testing/pigeonhole/dovecot.conf1
2 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/pigeonhole/PKGBUILD b/community-testing/pigeonhole/PKGBUILD
new file mode 100644
index 000000000..687c90522
--- /dev/null
+++ b/community-testing/pigeonhole/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Peter Lewis <plewis@aur.archlinux.org>
+# Contributor: Sebastian Köhler <sebkoehler@whoami.org.uk>
+
+# This must be built against the version of dovecot being used,
+# else mail delivery will fail.
+# Specify the version of dovecot to be used here:
+_dcpkgver=2.1.0
+# Make sure to bump pkgrel if changing this.
+
+pkgname=pigeonhole
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Fully rewritten Sieve implementation for Dovecot v2.1"
+arch=('i686' 'x86_64')
+url="http://pigeonhole.dovecot.org/"
+license=('LGPL')
+depends=('dovecot='$_dcpkgver)
+conflicts=('dovecot-sieve' 'pigeonhole-hg')
+source=("http://www.rename-it.nl/dovecot/2.1/dovecot-2.1-$pkgname-$pkgver.tar.gz"{,.sig}
+ "dovecot.conf")
+options=('!libtool')
+sha256sums=('2aeee8aa6dc700483b0a5a3d31f535abce71698ed1d467f11e931aeace2b0ada'
+ '181213cd4af854966ff5bb6b5052b49b0b40c0c21999939b8451658053fa396d'
+ 'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858')
+
+build() {
+ cd "$srcdir/dovecot-2.1-$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot
+ make
+}
+
+package() {
+ cd "$srcdir/dovecot-2.1-$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -m 644 -D "$srcdir/dovecot.conf" "$pkgdir/etc/ld.so.conf.d/dovecot.conf"
+}
+
diff --git a/community-testing/pigeonhole/dovecot.conf b/community-testing/pigeonhole/dovecot.conf
new file mode 100644
index 000000000..061a50c90
--- /dev/null
+++ b/community-testing/pigeonhole/dovecot.conf
@@ -0,0 +1 @@
+/usr/lib/dovecot