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

Christian Kampka
Details
Message ID
<1446818558-25248-1-git-send-email-christian@kampka.net>
Sender timestamp
1446818558
DKIM signature
missing
Download raw message
Patch: +3 -2
---
 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 <fabian@affolter-engineering.ch>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---