aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-18 19:39:13 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:45 +0200
commite3e5a56162166c6c49273d87b25777eb84ac69e7 (patch)
treefb2006448436a58ecea397b8c7ebc9210b92adb1 /PKGBUILD
downloadpkgbuilds-python-pypeg2.tar.xz
import pypeg2 and qutebrowser-gitpython-pypeg2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..42102f7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+pkgname=python-pypeg2
+pkgver=2.15.1
+pkgrel=1
+
+pkgdesc="An intrinsic PEG Parser-Interpreter for Python"
+url="http://fdik.org/pyPEG/"
+arch=(any)
+license=('GPL2')
+
+depends=('python')
+
+source=("https://pypi.python.org/packages/source/p/pyPEG2/pyPEG2-${pkgver}.tar.gz")
+
+md5sums=('10341d1fd733e6382c4562e4a81570cb')
+
+package() {
+ cd "$srcdir/pyPEG2-$pkgver"
+ python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+}