From eab385e0061072f13e8ee1a5e2c90c7d292d8dbd Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 15 Jan 2020 22:01:33 +0100 Subject: [PATCH] Update and cleanup Arch packaging (#64747) --- packaging/arch/PKGBUILD | 53 ---------------------------------------- packaging/arch/README.md | 18 +++----------- 2 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 packaging/arch/PKGBUILD diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD deleted file mode 100644 index 70bfcd05e5d..00000000000 --- a/packaging/arch/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Michel Blanc -# Contributor: Scott Hansen https://github.com/firecat53 -# Contributor: Buce -# Contributor: Bartłomiej Piotrowski -# Contributor: cgtx -# Contributor: Daniel Wallace -# Contributor: John Gosset -# Contributor: Joshua Lund -# Contributor: Matt Klich -# Contributor: Michael DeHaan - -pkgname=ansible-git -pkgver=1.6.0.1835.ga1809a3 -pkgrel=1 -pkgdesc='Ansible IT Automation' -arch=('any') -url='https://www.ansible.com' -license=('GPL3') -depends=('python2' 'python2-paramiko' 'python2-jinja' 'python2-yaml', 'python2-crypto') -makedepends=('git' 'docutils' 'fakeroot') -conflicts=('ansible') -provides=('ansible') -backup=('etc/ansible/ansible.cfg') -source=($pkgname::git+https://github.com/ansible/ansible.git) -md5sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --long | sed 's/^v//;s/-/./g' -} - -build() { - cd $pkgname - make PYTHON=python2 -} - -package() { - cd $pkgname - - install -dm755 $pkgdir/usr/share/ansible - cp -dpr --no-preserve=ownership ./examples "$pkgdir/usr/share/ansible" - - python2 setup.py install -O1 --root="$pkgdir" - - install -Dm644 examples/ansible.cfg $pkgdir/etc/ansible/ansible.cfg - - install -Dm644 README.rst $pkgdir/usr/share/doc/ansible/README.rst - install -Dm644 COPYING $pkgdir/usr/share/doc/ansible/COPYING - install -Dm644 CHANGELOG.md $pkgdir/usr/share/doc/ansible/CHANGELOG.md - - install -dm755 ${pkgdir}/usr/share/man/man1 - cp -dpr --no-preserve=ownership docs/man/man1/*.1 "$pkgdir/usr/share/man/man1" -} diff --git a/packaging/arch/README.md b/packaging/arch/README.md index 8c24a2e7791..994daca706e 100644 --- a/packaging/arch/README.md +++ b/packaging/arch/README.md @@ -1,20 +1,8 @@ Arch Packaging Files -------------------- -The PKGBUILD in this directory is here for reference. - -You can install [ansible-git][1] from the Arch User Repository (AUR), using the [AUR helper][2] of your choice. - -With `yaourt`: - - yaourt -S ansible-git - -With `pikaur`: - - pikaur -S ansible-git - -You can also install the stable version of [ansible][3] as an AUR package. +You can find the source files for [ansible-git][1] in the [Arch User Repository][2] and for the stable version [ansible][3] you can do so in \[community\]. [1]: https://aur.archlinux.org/packages/ansible-git/ - [2]: https://wiki.archlinux.org/index.php/AUR_helpers - [3]: https://aur.archlinux.org/packages/ansible/ + [2]: https://wiki.archlinux.org/index.php/Arch_User_Repository + [3]: https://www.archlinux.org/packages/community/any/ansible/