summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3deb7c8598..67b7eee9ba7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,25 @@
-# Maintainer: Oliver Mangold omangold at gmail dot com
+# Maintainer: Ekin Dursun <ekindursun@gmail.com>
+# Contributor: Oliver Mangold omangold at gmail dot com
pkgname=python-spark-parser
-pkgver=1.8.5
+pkgver=1.8.7
pkgrel=1
pkgdesc="An Early-Algorithm Context-free grammar Parser"
arch=('any')
url="https://github.com/rocky/python-spark/"
license=('MIT')
-makedepends=('python-setuptools' 'git')
+makedepends=('python-setuptools')
depends=('python-click')
-source=(python-spark-parser::'git+https://github.com/rocky/python-spark.git#commit=9b7079f7bfdfe2c16f25f7807f04dd8d8a0f8348')
-sha256sums=('SKIP')
+_name='spark_parser'
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('4c5e6064afbb3c114749016d585b0e4f9222d4ffa97a1854c9ab70b25783ef48')
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_name-$pkgver"
python setup.py build
}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir"
}