mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
22 lines
731 B
Bash
22 lines
731 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.0.0
|
|
pkgrel=1
|
|
pkgdesc="Library for defining the structure of JSON data."
|
|
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=('1793d97a668760ef540fadd342aa08e5')
|