summaryrefslogtreecommitdiffstats
path: root/extra/system-config-printer/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-05 12:39:04 +0100
committersibel <lesibel@free.fr>2011-01-05 12:39:04 +0100
commit4362a9b5fd9059e4103db5a562907cf84088ba12 (patch)
tree649be3f9a75bd297fa43566b7cda1260caec25c6 /extra/system-config-printer/Pkgfile
parent8901b1de97514320b7f03bb3758fd07f6aafa8c4 (diff)
downloadnutyx-extra-4362a9b5fd9059e4103db5a562907cf84088ba12.tar.gz
nutyx-extra-4362a9b5fd9059e4103db5a562907cf84088ba12.tar.bz2
nutyx-extra-4362a9b5fd9059e4103db5a562907cf84088ba12.tar.xz
nutyx-extra-4362a9b5fd9059e4103db5a562907cf84088ba12.zip
system-config-printer#1.2.5-1, maj 1.2.5-1
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
}