Fixes Arch PKGBUILD

Build was failing with new Ansible submodule setup for core and extras
modules.
Integrated fix from @firecat53
Added @firecat53 to contributors.
This commit is contained in:
Michel Blanc 2014-10-08 10:41:29 +02:00
parent bbd9921dbd
commit ce58706dd0

View file

@ -1,4 +1,5 @@
# Maintainer: Michel Blanc <mblanc@erasme.org> # Maintainer: Michel Blanc <mblanc@erasme.org>
# Contributor: Scott Hansen https://github.com/firecat53
# Contributor: Buce <dmbuce@gmail.com> # Contributor: Buce <dmbuce@gmail.com>
# Contributor: Bartłomiej Piotrowski <b@bpiotrowski.pl> # Contributor: Bartłomiej Piotrowski <b@bpiotrowski.pl>
# Contributor: cgtx <carl@carlgeorge.us> # Contributor: cgtx <carl@carlgeorge.us>
@ -9,7 +10,7 @@
# Contributor: Michael DeHaan <michael@ansible.com> # Contributor: Michael DeHaan <michael@ansible.com>
pkgname=ansible-git pkgname=ansible-git
pkgver=1.1.4095.g3f2f5fe pkgver=1.6.0.1835.ga1809a3
pkgrel=1 pkgrel=1
pkgdesc='Radically simple IT automation platform' pkgdesc='Radically simple IT automation platform'
arch=('any') arch=('any')
@ -33,6 +34,7 @@ pkgver() {
build() { build() {
cd $pkgname cd $pkgname
git submodule update --init --recursive
make PYTHON=python2 make PYTHON=python2
} }
@ -40,7 +42,6 @@ package() {
cd $pkgname cd $pkgname
install -dm755 $pkgdir/usr/share/ansible install -dm755 $pkgdir/usr/share/ansible
cp -dpr --no-preserve=ownership ./library/* "$pkgdir/usr/share/ansible/"
cp -dpr --no-preserve=ownership ./examples "$pkgdir/usr/share/ansible" cp -dpr --no-preserve=ownership ./examples "$pkgdir/usr/share/ansible"
python2 setup.py install -O1 --root="$pkgdir" python2 setup.py install -O1 --root="$pkgdir"