diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-08-18 00:58:26 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-08-18 00:58:26 +0200 |
commit | 14264bcaec8be85c4c7c6440bfa6ae3d3c449d8c (patch) | |
tree | 406e22e1873c9c1d25faaf9c8ec47a260c4fcae4 | |
parent | 5a8a6f2a18ee7f23ee5fc5739ba56677026b72a5 (diff) | |
download | aur-packages-14264bcaec8be85c4c7c6440bfa6ae3d3c449d8c.tar.gz aur-packages-14264bcaec8be85c4c7c6440bfa6ae3d3c449d8c.tar.xz |
add pigeonhole-hg
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r-- | pigeonhole-hg/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pigeonhole-hg/PKGBUILD b/pigeonhole-hg/PKGBUILD new file mode 100644 index 0000000..15aba68 --- /dev/null +++ b/pigeonhole-hg/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: Sebastian Köhler <sebkoehler@whoami.org.uk> +pkgname=pigeonhole-hg +pkgver=1380 +pkgrel=1 +pkgdesc="Fully rewritten Sieve implementation for Dovecot v2.0" +arch=('i686' 'x86_64') +url="http://pigeonhole.dovecot.org/" +license=('LGPL') +depends=('dovecot>=2.0.0') +makedepends=('mercurial') +conflicts=('dovecot-sieve') + +_hgroot="http://hg.rename-it.nl/" +_hgrepo="dovecot-2.0-pigeonhole" + +build() { + cd "$srcdir" + msg "Connecting to Mercurial server...." + + if [ -d $_hgrepo ] ; then + cd $_hgrepo + hg pull -u + msg "The local files are updated." + else + hg clone $_hgroot$_hgrepo + fi + + msg "Mercurial checkout done or server timeout" + msg "Starting make..." + + + rm -rf "$srcdir/$_hgrepo-build" + cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build" + cd "$srcdir/$_hgrepo-build" + + ./autogen.sh + ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot + make + make DESTDIR="$pkgdir/" install +} |