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

Andrea Scarpino andrea at archlinux.org
Tue Oct 19 17:20:45 UTC 2010


    Date: Tuesday, October 19, 2010 @ 13:20:45
  Author: andrea
Revision: 96261

fix

Modified:
  system-config-printer/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-19 16:44:41 UTC (rev 96260)
+++ PKGBUILD	2010-10-19 17:20:45 UTC (rev 96261)
@@ -60,7 +60,10 @@
   install -m644 newprinternotification.conf \
     ${pkgdir}/etc/dbus-1/system.d/
 
-  make DESTDIR="${pkgdir}" install
+  for file in build/lib/cupshelpers/*.py; do
+    install -Dm644 $file \
+      ${pkgdir}/usr/lib/python2.7/site-packages/cupshelpers/$(basename $file)
+  done
 }
 
 package_system-config-printer-gnome() {
@@ -85,5 +88,5 @@
     XmlHelper.py \
     pysmb.py
   rm ${pkgdir}/etc/dbus-1/system.d/newprinternotification.conf
-  rm -r ${pkgdir}/usr/lib/
+  rm -r ${pkgdir}/usr/lib/python2.7/site-packages/cupshelpers/
 }




More information about the arch-commits mailing list