Mail archive
alpine-aports

[alpine-aports] [PATCH] main/ansible: fix installation of man pages

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Wed, 5 Aug 2015 21:54:20 +0200

---
 main/ansible/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD
index 167b226..427aac8 100644
--- a/main/ansible/APKBUILD
+++ b/main/ansible/APKBUILD
_at_@ -1,8 +1,7 @@
 # Maintainer: Fabian Affolter <fabian_at_affolter-engineering.ch>
 pkgname=ansible
 pkgver=1.9.2
-_apkver=1
-pkgrel=0
+pkgrel=1
 pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework"
 url="http://ansible.com"
 arch="noarch"
_at_@ -22,11 +21,12 @@ package() {
 	cd "$_builddir"
 	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
 
+	mkdir -p "$pkgdir"/usr/share/man/man1
 	install -d $pkgdir/usr/share/ansible || return 1
+
 	_manpages="$pkgname-playbook.1 $pkgname.1"
 	for _manpage in "$_builddir"/docs/man/man1/*.1; do
-		install -Dm644 "$_manpage" \
-		"$pkgdir"/usr/share/man/man1/$_manpage || return 1
+		install -Dm644 "$_manpage" "$pkgdir"/usr/share/man/man1/ || return 1
 	done
 }
 
-- 
2.5.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Aug 05 2015 - 21:54:20 GMT