summaryrefslogtreecommitdiffstats
path: root/extra/urwid/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/urwid/Pkgfile')
-rw-r--r--extra/urwid/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/urwid/Pkgfile b/extra/urwid/Pkgfile
index 36e6729d2..6e52d5c46 100644
--- a/extra/urwid/Pkgfile
+++ b/extra/urwid/Pkgfile
@@ -7,10 +7,13 @@
name=urwid
version=0.9.9.1
-release=1
+release=2
source=(http://excess.org/$name/$name-$version.tar.gz)
build() {
-cd $name-$version
+ cd $name-$version
+
+ sed -i 's#bin/python#bin/python2#' urwid/*.py
+
python2 setup.py build install --root=$PKG
chown 0:0 -R $PKG
}