git » python-click.git » commit cb25b2f

Fix wrong path

author Sven-Hendrik Haase
2015-11-04 13:10:59 UTC
committer Sven-Hendrik Haase
2015-11-04 13:10:59 UTC
parent 93d55fd1832000632df369f83d829bd33f4ac524

Fix wrong path

PKGBUILD +3 -3

diff --git a/PKGBUILD b/PKGBUILD
index 08fdd42..6265dc6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 
 pkgname=("python-click" "python2-click")
 _realname=click
-pkgver="5.1"
-pkgrel="1"
+pkgver=5.1
+pkgrel=2
 pkgdesc="A simple wrapper around optparse for powerful command line utilities"
 arch=("any")
 url="http://click.pocoo.org/"
@@ -34,7 +34,7 @@ package_python-click() {
 
 package_python2-click() {
     depends=("python2")
-    cd "${srcdir}/${_realname}-${pkgver}"
+    cd "${srcdir}/${_realname}-${pkgver}-python2"
     python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
     install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }