Subject: [alpine-devel] [PATCH] testing/dovecot-pigeonhole-plugin: new aport

From: Kozak Ivan <[email-masked]>
Date: Thu, 30 Jan 2014 03:30:26 +0400

---
 testing/dovecot-pigeonhole-plugin/APKBUILD | 41 ++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/dovecot-pigeonhole-plugin/APKBUILD

diff --git a/testing/dovecot-pigeonhole-plugin/APKBUILD b/testing/dovecot-pigeonhole-plugin/APKBUILD
new file mode 100644
index 0000000..d304401
--- /dev/null
+++ b/testing/dovecot-pigeonhole-plugin/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Kozak Ivan <[email-masked]>
+# Maintainer: Kozak Ivan <[email-masked]>
+_pkgname=dovecot-2.2-pigeonhole
+pkgname=dovecot-pigeonhole-plugin
+pkgver=0.4.2
+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="dovecot"
+depends_dev="dovecot-dev mercurial openssl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://pigeonhole.dovecot.org/releases/2.2/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgname-$pkgver"
+
+prepare() {
+	cd "$_builddir"
+}
+
+build() {
+	cd "$_builddir"
+	./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot --disable-static || return 1
+	make || return 1
+}
+
+package() {
+	cd "$_builddir"
+	make DESTDIR="$pkgdir" install || return 1
+	rm -f "$pkgdir"/usr/lib/dovecot/*.la
+	rm -f "$pkgdir"/usr/lib/dovecot/doveadm/*.la
+	rm -f "$pkgdir"/usr/lib/dovecot/settings/*.la
+	rm -f "$pkgdir"/usr/lib/dovecot/sieve/*.la
+}
+
+md5sums="e8cb4976db9811d37e9d870f2f75ffef  dovecot-2.2-pigeonhole-0.4.2.tar.gz"
+sha256sums="0499f07037b86489fdc1d48fb19e298d5360ec41273bccaec230eb1bcf5a3e13  dovecot-2.2-pigeonhole-0.4.2.tar.gz"
+sha512sums="3b66d00a8462ee668b8671f5eaa48bb91d47ed8bf8b331f7d879ba8c581e2bef11e236b06a8c5da9f1248572348ad0b3e2b867fd0a17badf32152fedbe61c1ed  dovecot-2.2-pigeonhole-0.4.2.tar.gz"
-- 
1.8.4.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---