Mail archive
alpine-aports

[alpine-aports] [PATCH] community/dovecot-pigeonhole-plugin: Upgrade to 0.4.11. Minor cleanups in APKBUILD. Default config moved from -doc to main package.

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Wed, 20 Jan 2016 16:15:50 +0200

---
 community/dovecot-pigeonhole-plugin/APKBUILD | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/community/dovecot-pigeonhole-plugin/APKBUILD b/community/dovecot-pigeonhole-plugin/APKBUILD
index e46330d..0b5115f 100644
--- a/community/dovecot-pigeonhole-plugin/APKBUILD
+++ b/community/dovecot-pigeonhole-plugin/APKBUILD
_at_@ -4,20 +4,20 @@
 # Maintainer: Kozak Ivan <kozak-iv_at_yandex.ru>
 pkgname=dovecot-pigeonhole-plugin
 _realname=dovecot-2.2-pigeonhole
-pkgver=0.4.10
+pkgver=0.4.11
 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=""
-makedepends="dovecot-dev openssl-dev"
+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"
+_builddir="$srcdir"/$_realname-$pkgver
 prepare() {
 	cd "$_builddir"
 	update_config_sub || return 1
_at_@ -42,6 +42,8 @@ build() {
 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() {
_at_@ -50,6 +52,6 @@ tools() {
 	mv "$pkgdir"/usr/bin "$subpkgdir"/usr
 }
 
-md5sums="a11632e1302d2d906267d67e761da218  dovecot-2.2-pigeonhole-0.4.10.tar.gz"
-sha256sums="e9dfe7160fd3b465d6d5068f219122626ef790cce507e290cd09852c7d90726f  dovecot-2.2-pigeonhole-0.4.10.tar.gz"
-sha512sums="3e864727fc2bd346a7212135a3dd8759f9a5c27abd938c4d6b805c784c5c2c5aa401dd49cfa90951348a00202b85f91d86a2fa17ccab9a983a6faf2d0add48e8  dovecot-2.2-pigeonhole-0.4.10.tar.gz"
+md5sums="e48e36501ae48fc48ff47b3a4398a641  dovecot-2.2-pigeonhole-0.4.11.tar.gz"
+sha256sums="5168b4ac4e173b563dd71f4024452da5a578aa8d5d047d98903489ab4d84ad72  dovecot-2.2-pigeonhole-0.4.11.tar.gz"
+sha512sums="c01b23e90431da8c57f8e384d52bee0a608ce5de5a2e8cc304ab482b17473d637126704d549fbd3bc1ffffdeb41eff94e2587d1e6707a9249c15fff65631814d  dovecot-2.2-pigeonhole-0.4.11.tar.gz"
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jan 20 2016 - 16:15:50 GMT