Subject: [alpine-aports] [PATCH] main/myrepos: fix manpage installation

From: Christian Kampka <[email-masked]>
Date: Fri, 6 Nov 2015 15:02:38 +0100

---
 main/myrepos/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/myrepos/APKBUILD b/main/myrepos/APKBUILD
index d35135f..d94e320 100644
--- a/main/myrepos/APKBUILD
+++ b/main/myrepos/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Fabian Affolter <[email-masked]>
 pkgname=myrepos
 pkgver=1.20150503
-pkgrel=0
+pkgrel=1
 pkgdesc="A multiple repository management tool"
 url="https://github.com/joeyh/myrepos"
 arch="noarch"
@@ -33,7 +33,7 @@ package() {
 }
 
 doc() {
-	cd "$_builddir"
+    cd "$_builddir"
     mkdir -p "$subpkgdir"/usr/share/man || return 1
     mv "$_builddir"/*.1 "$subpkgdir"/usr/share/man/ || return 1
 	# Sample configuration files
@@ -41,6 +41,7 @@ doc() {
 		install -Dpm 0644 $file \
 			"$subpkgdir"/usr/share/doc/$pkgname/$file  || return 1
 	done
+    default_doc
 }
 
 md5sums="8aea5027ad05f8ec3cc08c13a13114b8  myrepos-1.20150503.tar.gz"
-- 
2.6.2

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