Patches for aports can be sent to this list

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

Valery Kartel
Details
Message ID
<1450824259-24433-1-git-send-email-valery.kartel@gmail.com>
Sender timestamp
1450824259
DKIM signature
missing
Download raw message
Patch: +5 -2
---
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---