summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a8e01663dd7..32369dff20b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=python-spark-parser
pkgname=('python-spark-parser' 'python2-spark-parser')
pkgver=1.8.7
-pkgrel=4
+pkgrel=5
pkgdesc="An Early-Algorithm Context-free grammar Parser"
arch=('any')
url="https://github.com/rocky/python-spark/"
@@ -14,22 +14,17 @@ _name='spark_parser'
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('4c5e6064afbb3c114749016d585b0e4f9222d4ffa97a1854c9ab70b25783ef48')
-build() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py build
-}
-
package_python-spark-parser() {
depends=('python-click')
cd "$srcdir/$_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python setup.py install --root="$pkgdir" --optimize=1
}
package_python2-spark-parser() {
depends=('python2-click')
cd "$srcdir/$_name-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python2 setup.py install --root="$pkgdir" --optimize=1
mv "$pkgdir/usr/bin/spark-parser-coverage" "$pkgdir/usr/bin/spark-parser-coverage2"
}