# $Id: PKGBUILD 192153 2013-08-06 14:10:47Z andyrtr $ # Maintainer: Andreas Radke # Contributorr: Peter Lewis # Contributor: Sebastian Köhler # 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.2.5 # Make sure to bump pkgrel if changing this. pkgname=pigeonhole pkgver=0.4.1 pkgrel=2 pkgdesc="Sieve implementation for Dovecot" arch=('i686' 'x86_64' 'mips64el') url="http://pigeonhole.dovecot.org/" license=('LGPL') depends=('dovecot='$_dcpkgver) conflicts=('dovecot-sieve' 'pigeonhole-hg') source=("http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-$pkgname-$pkgver.tar.gz"{,.sig} "dovecot.conf") options=('!libtool') sha256sums=('361cf61c1b6c8a42d841d694736dac99c6bb5b5166e050a95c185119399c696e' 'SKIP' 'a457a1691cfa82495fc0503bfa4b61e54b149e63400fe0f568dff2c24a3f7858') build() { cd "$srcdir/dovecot-2.2-$pkgname-$pkgver" ./configure --prefix=/usr \ --with-dovecot=/usr/lib/dovecot \ --with-moduledir=/usr/lib/dovecot/modules \ --disable-static make } package() { cd "$srcdir/dovecot-2.2-$pkgname-$pkgver" make DESTDIR="$pkgdir/" install install -m 644 -D "$srcdir/dovecot.conf" "$pkgdir/etc/ld.so.conf.d/dovecot.conf" }