summaryrefslogtreecommitdiff
path: root/community/pigeonhole/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pigeonhole/PKGBUILD')
-rw-r--r--community/pigeonhole/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/pigeonhole/PKGBUILD b/community/pigeonhole/PKGBUILD
new file mode 100644
index 000000000..79b524035
--- /dev/null
+++ b/community/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.0.11
+# Make sure to bump pkgrel if changing this.
+
+pkgname=pigeonhole
+pkgver=0.2.2
+pkgrel=3
+pkgdesc="Fully rewritten Sieve implementation for Dovecot v2.0"
+arch=('i686' 'x86_64')
+url="http://pigeonhole.dovecot.org/"
+license=('LGPL')
+depends=('dovecot='$_dcpkgver)
+makedepends=()
+conflicts=('dovecot-sieve' 'pigeonhole-hg')
+source=("http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-$pkgname-$pkgver.tar.gz"
+ "dovecot.conf")
+md5sums=('23b9be534c62257a0d049b1370f11a99'
+ '564b771c339f69a477c06babf53e11c2')
+options=('!libtool')
+
+build() {
+ cd "$srcdir/dovecot-2.0-$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot
+ make
+}
+
+package() {
+ cd "$srcdir/dovecot-2.0-$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -m 644 -D "$srcdir/dovecot.conf" "$pkgdir/etc/ld.so.conf.d/dovecot.conf"
+}
+