Subject: [alpine-aports] [PATCH] testing/dovecot-pigeonhole-plugin: Default config files moved from -doc to main package

From: Valery Kartel <[email-masked]>
Date: Wed, 23 Dec 2015 00:44:19 +0200

---
 testing/dovecot-pigeonhole-plugin/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/testing/dovecot-pigeonhole-plugin/APKBUILD b/testing/dovecot-pigeonhole-plugin/APKBUILD
index e46330d..f984741 100644
--- a/testing/dovecot-pigeonhole-plugin/APKBUILD
+++ b/testing/dovecot-pigeonhole-plugin/APKBUILD
@@ -5,7 +5,7 @@
 pkgname=dovecot-pigeonhole-plugin
 _realname=dovecot-2.2-pigeonhole
 pkgver=0.4.10
-pkgrel=0
+pkgrel=1
 pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA"
 url="http://pigeonhole.dovecot.org"
 arch="all"
@@ -17,7 +17,8 @@ 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
@@ -42,6 +43,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() {
-- 
2.6.4

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