[arch-commits] Commit in system-config-printer/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun May 3 06:45:38 EDT 2009


    Date: Sunday, May 3, 2009 @ 06:45:38
  Author: andrea
Revision: 37581

upgpkg: system-config-printer 1.1.7-3

Modified:
  system-config-printer/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-03 10:19:28 UTC (rev 37580)
+++ PKGBUILD	2009-05-03 10:45:38 UTC (rev 37581)
@@ -3,7 +3,7 @@
 
 pkgname=system-config-printer
 pkgver=1.1.7
-pkgrel=2
+pkgrel=3
 pkgdesc="Pygtk CUPS Configuration"
 url="http://cyberelk.net/tim/software/system-config-printer/"
 arch=('i686' 'x86_64')
@@ -25,7 +25,8 @@
   install -m644 config.py debug.py smburi.py \
     ${pkgdir}/usr/share/${pkgname}/ || return 1
   
-  install -d ${pkgdir}/usr/lib/python2.6/site-packages/cupshelpers/
-  install -m644 build/lib/cupshelpers/{cupshelpers.py,ppds.py} \
-    ${pkgdir}/usr/lib/python2.6/site-packages/cupshelpers/ || return 1
+  for file in build/lib/cupshelpers/*.py; do
+    install -Dm644 $file \
+      ${pkgdir}/usr/lib/python2.6/site-packages/cupshelpers/$(basename $file) || return 1
+  done
 }



More information about the arch-commits mailing list