Arch PKGBUILD fixes

Adds examples in package
Changes json dependency to python2-simplejson, reflecting the new
package name
Removed duplicate python2-yaml
This commit is contained in:
Michel Blanc 2013-01-03 20:54:13 +01:00
parent e93ed2c167
commit f72317d71e

View file

@ -1,12 +1,12 @@
#Maintainer: Michel Blanc <mblanc@erasme.org> #Maintainer: Michel Blanc <mblanc@erasme.org>
pkgname=ansible-git pkgname=ansible-git
pkgver=20121116 pkgver=20130103
pkgrel=1 pkgrel=3
pkgdesc="A radically simple deployment, model-driven configuration management, and command execution framework" pkgdesc="A radically simple deployment, model-driven configuration management, and command execution framework"
arch=('any') arch=('any')
url="https://github.com/ansible/ansible" url="https://github.com/ansible/ansible"
license=('GPL3') license=('GPL3')
depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja' 'python-simplejson' 'python2-yaml') depends=('python2' 'python2-paramiko' 'python2-jinja' 'python2-simplejson' 'python2-yaml')
makedepends=('git' 'asciidoc' 'fakeroot') makedepends=('git' 'asciidoc' 'fakeroot')
conflicts=('ansible') conflicts=('ansible')
source=("python-binary.diff") source=("python-binary.diff")
@ -39,6 +39,8 @@ package() {
mkdir -p ${pkgdir}/usr/share/ansible mkdir -p ${pkgdir}/usr/share/ansible
cp ./library/* ${pkgdir}/usr/share/ansible/ cp ./library/* ${pkgdir}/usr/share/ansible/
cp -r ./examples ${pkgdir}/usr/share/ansible
python2 setup.py install -O1 --root=${pkgdir} python2 setup.py install -O1 --root=${pkgdir}
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