Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/runit: *revised* - add man pages

From: Stuart Cardall <developer_at_it-offshore.co.uk>
Date: Wed, 20 May 2015 20:07:27 +0000

Please ignore the previous incorrect runit patch - this revised patch
packages the man pages correctly.
---
 testing/runit/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testing/runit/APKBUILD b/testing/runit/APKBUILD
index 3af912a..5872b0d 100644
--- a/testing/runit/APKBUILD
+++ b/testing/runit/APKBUILD
_at_@ -11,7 +11,7 @@ depends=""
 depends_dev=""
 makedepends="$depends_dev"
 install=""
-subpackages=""
+subpackages="$pkgname-doc"
 source="http://smarden.org/runit/runit-$pkgver.tar.gz
 	run-service-dir.patch
 	"
_at_@ -40,6 +40,8 @@ package() {
 	for i in chpst runit runit-init runsv runsvchdir runsvdir sv svlogd utmpset; do
 		install -m755 "$i" "$pkgdir"/sbin/$i || return 1
 	done
+	install -d "$pkgdir"/usr/share/man/man8
+	cd .. && cp -rf man/* "$pkgdir"/usr/share/man/man8/
 }
 
 md5sums="6c985fbfe3a34608eb3c53dc719172c4  runit-2.1.2.tar.gz
-- 
2.4.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed May 20 2015 - 20:07:27 GMT