# Contributor: Valery Kartel # Contributor: Sören Tempel # Contributor: Kozak Ivan # Maintainer: Kozak Ivan pkgname=dovecot-pigeonhole-plugin _realname=dovecot-2.2-pigeonhole pkgver=0.4.12 pkgrel=0 pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA" url="http://pigeonhole.dovecot.org" arch="all" license="LGPL" depends="" depends_dev="dovecot-dev" makedepends="$depends_dev openssl-dev" install="" subpackages="$pkgname-doc $pkgname-dev $pkgname-tools" source="http://pigeonhole.dovecot.org/releases/2.2/$_realname-$pkgver.tar.gz" _builddir="$srcdir"/$_realname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-dovecot=/usr/lib/dovecot \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/etc mv "$pkgdir"/usr/share/doc/dovecot/example-config "$pkgdir"/etc/dovecot } tools() { pkgdesc="Pigeonhole project provides Sieve support (test and debug tools)" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } md5sums="eb96e65be62c71f987a3b5ad2d782b7b dovecot-2.2-pigeonhole-0.4.12.tar.gz" sha256sums="98a2fd79b0d9effd08c0caf04d483b1caa5e4503dae811e6d436948557bfb702 dovecot-2.2-pigeonhole-0.4.12.tar.gz" sha512sums="68b2bcc8bd2a8c039ff116a441ff8795917b280f89ad60819638d5903010611bbd5966567d0d33ae305f9ae4db9f6756b2a72ccd8305124cfe846d64bbdd08c5 dovecot-2.2-pigeonhole-0.4.12.tar.gz"