summaryrefslogtreecommitdiffstats
path: root/extra/system-config-printer/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/system-config-printer/Pkgfile')
-rwxr-xr-xextra/system-config-printer/Pkgfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/system-config-printer/Pkgfile b/extra/system-config-printer/Pkgfile
index c11fef310..d493b315c 100755
--- a/extra/system-config-printer/Pkgfile
+++ b/extra/system-config-printer/Pkgfile
@@ -5,11 +5,12 @@
# Depends on: pycups, pyxml, dbus-python, xmlto
name=system-config-printer
-version=1.1.10
-release=1
-source=(http://cyberelk.net/tim/data/$name/1.1/$name-$version.tar.bz2)
+version=1.2.5
+python_version=3.1
+release=1
+source=(http://cyberelk.net/tim/data/$name/1.1/$name-$version.tar.bz2)
build() {
cd $name-$version
@@ -18,12 +19,12 @@ build() {
--sysconfdir=/etc
make
install -d $PKG/usr/share/$name
- install -d $PKG/usr/lib/python2.5/site-packages/cupshelpers
+ install -d $PKG/usr/lib/python$python_version/site-packages/cupshelpers
install -m644 config.py debug.py smburi.py \
$PKG/usr/share/$name/
for i in build/lib/cupshelpers/*.py; do
install -Dm644 $i \
- $PKG/usr/lib/python2.5/site-packages/cupshelpers/$(basename $i)
+ $PKG/usr/lib/python$python_version/site-packages/cupshelpers/$(basename $i)
done
}