PKGBUILDs/aur/python2-jsonschema/PKGBUILD
Kevin Mihelich 7f3940892a aur updates
2013-11-16 18:40:58 +00:00

23 lines
738 B
Bash

# Maintainer: Bogdan Szczurek <thebodzio@gmail.com>
# This package is almost identical to the package
# python-jsonschema by Ismo Toijala, so all praises
# go to him :): Ismo Toijala <ismo.toijala@gmail.com>
pkgname=python2-jsonschema
pkgver=2.1.0
pkgrel=1
pkgdesc="An implementation of JSON Schema validation for Python"
arch=(any)
url="http://pypi.python.org/pypi/jsonschema"
license=('MIT')
depends=('python2')
source=("http://pypi.python.org/packages/source/j/jsonschema/${pkgname:8}-$pkgver.tar.gz")
package() {
cd "$srcdir/${pkgname:8}-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 json/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('6ec15a72a3dd21c5f6e4feb468bf08d6')