Include docs, config in Arch package
This commit is contained in:
parent
64610c585a
commit
dfb3fe2d28
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,7 @@ provides=('ansible')
|
||||||
source=("$pkgname::git://github.com/ansible/ansible.git"
|
source=("$pkgname::git://github.com/ansible/ansible.git"
|
||||||
"python-binary.diff")
|
"python-binary.diff")
|
||||||
md5sums=("SKIP" "ab81876d8d4c86c27d137e3d86c25a3a")
|
md5sums=("SKIP" "ab81876d8d4c86c27d137e3d86c25a3a")
|
||||||
|
backup=('etc/ansible/ansible.cfg')
|
||||||
|
|
||||||
prepare(){
|
prepare(){
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
|
@ -40,6 +41,14 @@ package() {
|
||||||
|
|
||||||
python2 setup.py install -O1 --root="$pkgdir"
|
python2 setup.py install -O1 --root="$pkgdir"
|
||||||
|
|
||||||
|
install -D examples/ansible.cfg "$pkgdir/etc/ansible/ansbile.cfg"
|
||||||
|
|
||||||
|
install -D README.md "$pkgdir/usr/share/doc/ansible/README.md"
|
||||||
|
install -D COPYING "$pkgdir/usr/share/doc/ansible/COPYING"
|
||||||
|
install -D CHANGELOG.md "$pkgdir/usr/share/doc/ansible/CHANGELOG.md"
|
||||||
|
install -D CONTRIBUTING.md "$pkgdir/usr/share/doc/ansible/CONTRIBUTING.md"
|
||||||
|
install -D RELEASES.txt "$pkgdir/usr/share/doc/ansible/RELEASES.txt"
|
||||||
|
|
||||||
install -D docs/man/man1/ansible.1 "${pkgdir}/usr/share/man/man1/ansible.1"
|
install -D docs/man/man1/ansible.1 "${pkgdir}/usr/share/man/man1/ansible.1"
|
||||||
install -D docs/man/man1/ansible-playbook.1 "${pkgdir}/usr/share/man/man1/ansible-playbook.1"
|
install -D docs/man/man1/ansible-playbook.1 "${pkgdir}/usr/share/man/man1/ansible-playbook.1"
|
||||||
install -D docs/man/man1/ansible-pull.1 "${pkgdir}/usr/share/man/man1/ansible-pull.1"
|
install -D docs/man/man1/ansible-pull.1 "${pkgdir}/usr/share/man/man1/ansible-pull.1"
|
||||||
|
|
Loading…
Reference in a new issue