# Maintainer: Amin Vakil # Contributor:anon at sansorgan.es pkgname=awx pkgver=24.3.1 pkgrel=1 pkgdesc="AWX provides a web-based user interface, REST API, and task engine built on top of Ansible." arch=('any') url="https://github.com/ansible/awx" license=('Apache') depends=('python' 'gettext') makedepends=('python-setuptools') options=(!emptydirs) source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::https://github.com/ansible/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('6533b4821a28fb507eb696edab4d2d62179e024803147b55ec1521fea4cdb541') build() { cd "$srcdir/${pkgname}-${pkgver}" echo "${pkgver}" > VERSION python -c "from setuptools import setup; setup();" build } package() { cd "$srcdir/${pkgname}-${pkgver}" python -c "from setuptools import setup; setup();" install --root="$pkgdir/" --optimize=1 } # vim:set ts=2 sw=2 et: