PKGBUILD 698 B

12345678910111213141516171819202122232425262728
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (aur): Simon Hanna <simon dot hanna AT serve-me DOT info>
  3. pkgname=('python-atpublic')
  4. pkgver=0.5
  5. pkgrel=1
  6. pkgdesc="python '@public' decorator for populating '__all__'"
  7. arch=(any)
  8. url=https://gitlab.com/warsaw/public
  9. license=('Apache')
  10. options=(!emptydirs)
  11. makedepends=('python-setuptools')
  12. _upstream_name='public'
  13. _release=${_upstream_name}-${pkgver}
  14. source=(https://gitlab.com/warsaw/${_upstream_name}/-/archive/${pkgver}/${_release}.tar.gz)
  15. sha256sums=('56b7878c84c90a6f95c24ddb5a71950a5f6024c4e4f143256bca8b57680bdc9b')
  16. package()
  17. {
  18. cd "${srcdir}/${_release}"
  19. python setup.py install --root="${pkgdir}/" --optimize=1
  20. }