1 # Maintainer: Morten Linderud <foxboron@archlinux.org>
2 # Contributor: Batuhan Baserdem <lastname dot firstname at gmail>
8 pkgdesc="JSON for Humans, allows comments and is less error prone."
10 url="https://github.com/laktak/hjson-py"
12 makedepends=('python-setuptools')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/hjson/hjson-py/archive/v${pkgver}.tar.gz")
15 sha256sums=('1c16084568a6328ba404703aad6db8ddf7e3b6afec9e141b375a40a61a209c30')
18 cd "${_name}-${pkgver}"
23 cd "${_name}-${pkgver}"
24 PYTHONPATH="$PYTHONPATH:${PWD}" python hjson/tests/__init__.py
28 cd "${_name}-${pkgver}"
29 python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
30 install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"