PKGBUILD 778 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=('python2-django-postorius')
  4. pkgver=1.2.2
  5. pkgrel=1
  6. pkgdesc="A Django app that provides a web user interface to access GNU Mailman"
  7. arch=(any)
  8. url=https://gitlab.com/mailman/postorius
  9. license=('LGPL')
  10. options=(!emptydirs)
  11. makedepends=('python2-setuptools')
  12. depends=('python2' 'python2-django-mailman3')
  13. _upstream_name='postorius'
  14. _release="${_upstream_name}-${pkgver}"
  15. source=(https://gitlab.com/mailman/${_upstream_name}/-/archive/${pkgver}/${_release}.tar.gz)
  16. sha256sums=('4299c883a7e1a5044436a3c57a19bf337bd95b4e1b89fe6c66982843622d464e')
  17. package()
  18. {
  19. cd "$srcdir/${_release}"
  20. python2 setup.py install --root="$pkgdir/" --optimize=1
  21. }