summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0dba27357bd1..db99ca8d2495 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
pkgbase=python-pocketlint
pkgname=python-pocketlint
+_pkgbase=pocketlint
pkgver=0.25
-pkgrel=2
+pkgrel=3
pkgdesc='Addon pylint modules and configuration settings for checking the validity of Python-based source projects.'
arch=('i686' 'x86_64')
url='https://github.com/rhinstaller/pocketlint'
@@ -14,6 +15,6 @@ source=("https://github.com/rhinstaller/pocketlint/archive/${pkgver}.tar.gz")
sha256sums=('d6c868cc6119cfef1470707933a949088a3e1bf82c7375d657f038c728c12fa9')
package () {
- cd "${srcdir}/${pkgbase}-${pkgbase}-${pkgver}"
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=0
}