aboutsummaryrefslogtreecommitdiffstats
path: root/main/ansible
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-05 22:13:30 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-08-07 06:47:37 +0000
commit74221f571239514cfc068dcf9064a2d4a8bb9e95 (patch)
treec9a746370e625334887b464fe629b412a09a8b0c /main/ansible
parentec612590a4c3d652d45d130d8676df6721587bb0 (diff)
downloadaports-74221f571239514cfc068dcf9064a2d4a8bb9e95.tar.bz2
aports-74221f571239514cfc068dcf9064a2d4a8bb9e95.tar.xz
main/ansible: fix installation of man pages
Diffstat (limited to 'main/ansible')
-rw-r--r--main/ansible/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD
index 167b226e43..12145f6387 100644
--- a/main/ansible/APKBUILD
+++ b/main/ansible/APKBUILD
@@ -1,8 +1,7 @@
# Maintainer: Fabian Affolter <fabian@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"
@@ -22,11 +21,10 @@ package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
- install -d $pkgdir/usr/share/ansible || return 1
+ mkdir -p "$pkgdir"/usr/share/man/man1
_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
}