1 # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
2 # Contributor: Limao Luo <luolimao+AUR@gmail.com>
4 pkgname=python-jsonpointer
7 pkgdesc="Identify specific nodes in a JSON document (RFC 6901)"
9 url="https://github.com/stefankoegl/python-json-pointer"
12 makedepends=('python-setuptools')
13 source=("https://pypi.io/packages/source/j/jsonpointer/jsonpointer-$pkgver.tar.gz")
14 sha512sums=('e04da474a5ec376d1cd2c764c2d7a11ac296450df199449994cb1dedf02a49df3ae3a4e75b2963370dba1da166464602b849a79609f7a98d8246dab0b342c819')
17 cd "$srcdir"/jsonpointer-$pkgver
22 cd "$srcdir"/jsonpointer-$pkgver
26 package_python-jsonpointer() {
27 cd jsonpointer-$pkgver
28 python setup.py install --prefix=/usr --root="$pkgdir"
29 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt