1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Internationalized Domain Names in Applications (IDNA)"
9 url="https://github.com/kjd/idna"
11 makedepends=('python2-setuptools')
12 source=("https://pypi.io/packages/source/i/idna/idna-$pkgver.tar.gz")
13 sha512sums=('83b412de2f79a4bc86fb4bdac7252521b9d84f0be54f4fb1bde1ee13a210bbfa4b1a98247affbc7921046fb117a591316c12694c1be72865767646554c5207ac')
16 rm -r idna-$pkgver/*.egg-info
21 python2 setup.py build
31 python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
32 install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/