pkgbase='python-aur-deploy' pkgname=('python-aur-deploy') _module='aur-deploy' pkgver=0.9.3 pkgrel=1 pkgdesc="Automate updating pkgbuild and deploying to AUR" url="https://github.com/codeswhite/aur-deploy" makedepends=('python-setuptools') depends=('python' 'twine' 'python-wheel' 'python-beautifulsoup4' 'pip2pkgbuild' 'python-interutils') license=('MIT') arch=('any') source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") sha256sums=("4707f157862fb61d6eda6da8d68698b47ddf6f2315e2981ce7f93dfd5a30f006") build() { cd "${srcdir}/${_module}-${pkgver}" python setup.py build } package() { depends+=() cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build }