Advertisement
Drommer

python2-idna PKGBUILD

Oct 18th, 2022
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | Software | 0 0
  1. # Maintainer: Felix Yan <[email protected]>
  2. # Contributor: Drommer <[email protected]>
  3.  
  4. _pkgname=idna
  5. pkgname=python2-idna
  6. pkgver=2.10
  7. pkgrel=1
  8. pkgdesc="Internationalized Domain Names in Applications (IDNA)"
  9. arch=('any')
  10. license=('BSD')
  11. url="https://github.com/kjd/idna"
  12. depends=('python2')
  13. makedepends=('python2-setuptools')
  14. source=("https://github.com/kjd/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
  15. sha256sums=('c4b68473823affb02120ad1b199f1d8dd94f1ffa1595ff6fbeb70b1d5fa535bb')
  16.  
  17. build() {
  18. cd ${_pkgname}-${pkgver}
  19. python2 setup.py build
  20. }
  21.  
  22. package() {
  23. cd ${_pkgname}-${pkgver}
  24. python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
  25. install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
  26. }
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement