summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkin Dursun2018-06-12 16:19:15 +0300
committerEkin Dursun2018-06-12 16:19:15 +0300
commit6521e5ad09ed90c6898596fe2fda132aabc5bc01 (patch)
tree4c39d3178a0a88d29eeafe68f47bf6be2831df1c
parent13a3fe24a0afa3059c2c2179a7b3e267085343ba (diff)
downloadaur-6521e5ad09ed90c6898596fe2fda132aabc5bc01.tar.gz
Correct packaging
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ff1a787de3..a08075831b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-spark-parser
pkgdesc = An Early-Algorithm Context-free grammar Parser
pkgver = 1.8.7
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/rocky/python-spark/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 58537775e93..a8e01663dd7 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=3
+pkgrel=4
pkgdesc="An Early-Algorithm Context-free grammar Parser"
arch=('any')
url="https://github.com/rocky/python-spark/"
@@ -23,13 +23,13 @@ package_python-spark-parser() {
depends=('python-click')
cd "$srcdir/$_name-$pkgver"
- python setup.py install --root="$pkgdir"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
package_python2-spark-parser() {
depends=('python2-click')
cd "$srcdir/$_name-$pkgver"
- python2 setup.py install --root="$pkgdir"
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
mv "$pkgdir/usr/bin/spark-parser-coverage" "$pkgdir/usr/bin/spark-parser-coverage2"
}