summaryrefslogtreecommitdiffstats
path: root/extra/pycups/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pycups/Pkgfile')
-rw-r--r--extra/pycups/Pkgfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/pycups/Pkgfile b/extra/pycups/Pkgfile
index c74e065da..eeedbfa87 100644
--- a/extra/pycups/Pkgfile
+++ b/extra/pycups/Pkgfile
@@ -5,14 +5,16 @@
# Depends on: python, libcups
name=pycups
-version=1.9.49
+version=1.9.53
release=1
source=(http://cyberelk.net/tim/data/pycups/$name-$version.tar.bz2 \
http://nutyx.meticul.eu/files/patchs/$name/pycups-1.9.49-python-2.5.patch)
build() {
cd $name-$version
- patch -Np1 -i ../pycups-1.9.49-python-2.5.patch
- make
- make DESTDIR=$PKG install
+# patch -Np1 -i ../pycups-1.9.49-python-2.5.patch
+# make
+# make DESTDIR=$PKG install
+ python2 setup.py build
+ python2 setup.py install --root=$PKG --optimize=1
}