PKGBUILD 725 B

1234567891011121314151617181920212223242526272829
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>
  3. pkgname=('python-aiosmtpd')
  4. pkgver=1.1
  5. pkgrel=1
  6. pkgdesc="A reimplementation of the Python stdlib smtpd.py based on asyncio"
  7. arch=(any)
  8. url=https://github.com/aio-libs/aiosmtpd
  9. license=('Apache')
  10. options=(!emptydirs)
  11. makedepends=('python-setuptools')
  12. depends=('python-atpublic')
  13. _upstream_name='aiosmtpd'
  14. _release=${_upstream_name}-${pkgver}
  15. source=(https://github.com/aio-libs/aiosmtpd/archive/${pkgver}.tar.gz)
  16. sha256sums=('5a3925a0c7609005e5cfd96e916a644e20b201b6743ffe0e095addb2b146a198')
  17. package()
  18. {
  19. cd "${srcdir}/${_release}"
  20. python setup.py install --root="${pkgdir}/" --optimize=1
  21. }