diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2013-06-10 03:18:22 +0200 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2013-06-10 03:18:22 +0200 |
commit | b0bf39ef6c5fd8ffc943aa59aed849690da325d9 (patch) | |
tree | ff32317f78da8bbf1eda121a4ca207e9553bfabb | |
parent | Merge pull request #3164 from DMBuce/doc-update (diff) | |
parent | Include docs, config in Arch package (diff) | |
download | ansible-b0bf39ef6c5fd8ffc943aa59aed849690da325d9.tar.xz ansible-b0bf39ef6c5fd8ffc943aa59aed849690da325d9.zip |
Merge pull request #3163 from DMBuce/pkgbuild-update
PKGBUILD update
-rw-r--r-- | packaging/arch/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index 07d93d7502..9f1b439dcd 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -1,6 +1,6 @@ #Maintainer: Michel Blanc <mblanc@erasme.org> pkgname=ansible-git -pkgver=1.1.568.gd29d142 +pkgver=1.1.912.gedb6a68 pkgver(){ cd "$srcdir/$pkgname" git describe --tags --long | sed 's/^v//;s/-/./g' @@ -17,9 +17,11 @@ optdepends=('python2-pyzmq: needed for fireball mode' 'python2-crypto: needed for fireball mode' 'python2-keyczar: needed for fireball mode') conflicts=('ansible') +provides=('ansible') source=("$pkgname::git://github.com/ansible/ansible.git" "python-binary.diff") md5sums=("SKIP" "ab81876d8d4c86c27d137e3d86c25a3a") +backup=('etc/ansible/ansible.cfg') prepare(){ cd "$srcdir/$pkgname" @@ -39,13 +41,16 @@ package() { 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-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-doc.1 "${pkgdir}/usr/share/man/man1/ansible-doc.1" - - gzip -9 "${pkgdir}/usr/share/man/man1/ansible.1" - gzip -9 "${pkgdir}/usr/share/man/man1/ansible-playbook.1" - gzip -9 "${pkgdir}/usr/share/man/man1/ansible-pull.1" - gzip -9 "${pkgdir}/usr/share/man/man1/ansible-doc.1" } |