Created
January 15, 2018 23:41
-
-
Save anonymous/ec72ce33f0f791cfe2060a1b7ccb0b6d to your computer and use it in GitHub Desktop.
tower-cli 3.2.1-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jakob Englisch <jakob.englisch[at]gmail[dot]com> | |
# Contributor: Brad Erhart <brae.04+aur[at]gmail[dot]com> | |
pkgname=tower-cli | |
pkgver=3.2.1 | |
pkgrel=1 | |
pkgdesc="Command line tool and client library for the Ansible Tower and AWX Project's REST API." | |
arch=('any') | |
url="https://github.com/ansible/tower-cli" | |
license=('Apache') | |
depends=('python' 'python-click') | |
makedepends=("python-setuptools") | |
options=(!emptydirs) | |
source=("https://github.com/ansible/${pkgname}/archive/v${pkgver}.tar.gz") | |
sha256sums=('1f9e2e695ee3a79314fd275195c7958e9d55c0e37b2f14bf83445256be57b1b4') | |
build() { | |
cd "$srcdir/${pkgname}-${pkgver}" | |
python setup.py build | |
} | |
package() { | |
cd "$srcdir/${pkgname}-${pkgver}" | |
python setup.py install --root="$pkgdir/" --optimize=1 | |
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment