Mail archive
alpine-aports

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

From: Christian Kampka <christian_at_kampka.net>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Fabian Affolter <fabian_at_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"
_at_@ -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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 06 2015 - 15:02:38 GMT