diff options
author | rkcf | 2019-04-08 11:09:49 -0700 |
---|---|---|
committer | rkcf | 2019-04-08 11:09:49 -0700 |
commit | de3da46f43b62c52c593f59a56fcc88fe7f35a77 (patch) | |
tree | c1c39454f56fe69a22be3826d61518eb68507a56 | |
download | aur-de3da46f43b62c52c593f59a56fcc88fe7f35a77.tar.gz |
initial commit v4.0.1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0e7556424cba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-esprima + pkgdesc = Python port of esprima. ECMAScript parsing infrastructure for multipurpose analysis + pkgver = 4.0.1 + pkgrel = 1 + url = https://github.com/Kronuz/esprima-python + arch = any + license = BSD + depends = python + source = https://github.com/Kronuz/esprima-python/archive/v4.0.1.tar.gz + md5sums = 40b066e480bbe52168a441b99814dd23 + +pkgname = python-esprima + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..097c12841ea9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Andrew Steinke <rkcf@rkcf.me> + +pkgname=python-esprima +_pkgname=esprima-python +pkgrel=1 +pkgver=4.0.1 +pkgdesc="Python port of esprima. ECMAScript parsing infrastructure for multipurpose analysis" +depends=('python') +url="https://github.com/Kronuz/esprima-python" +license=('BSD') +arch=('any') +source=("$url/archive/v$pkgver.tar.gz") +md5sums=('40b066e480bbe52168a441b99814dd23') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |