PKGBUILD 839 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-mailman3')
  4. pkgver=1.2.0
  5. pkgrel=1
  6. pkgdesc="Django library to help interaction with Mailman"
  7. arch=(any)
  8. url=https://gitlab.com/mailman/django-mailman3
  9. license=('GPL3')
  10. options=(!emptydirs)
  11. depends=('python2' 'python2-django' 'python2-django-allauth' 'python2-future'
  12. 'python2-mailmanclient' 'python2-pytz' 'python2-django-gravatar')
  13. _upstream_name='django-mailman3'
  14. _release="${_upstream_name}-${pkgver}"
  15. source=(https://gitlab.com/mailman/${_upstream_name}/-/archive/${pkgver}/${_release}.tar.gz)
  16. sha256sums=('fee336f22cef644cb9e1d9d1081ca58f96f6c9334d33df9b4df7e68d04754536')
  17. package()
  18. {
  19. cd "$srcdir/${_release}"
  20. python2 setup.py install --root="$pkgdir/" --optimize=1
  21. }