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

Andreas Radke andyrtr at archlinux.org
Tue Oct 28 12:33:56 UTC 2014


    Date: Tuesday, October 28, 2014 @ 13:33:56
  Author: andyrtr
Revision: 225404

upgpkg: system-config-printer 1.5.3-3

use cups 2.0.0 service naming

Modified:
  system-config-printer/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-28 12:25:11 UTC (rev 225403)
+++ PKGBUILD	2014-10-28 12:33:56 UTC (rev 225404)
@@ -4,7 +4,7 @@
 
 pkgname=system-config-printer
 pkgver=1.5.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A CUPS printer configuration tool and status applet"
 url="http://cyberelk.net/tim/software/system-config-printer/"
 arch=('i686' 'x86_64')
@@ -36,4 +36,7 @@
   find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
   # Compile *.pyo
   find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
+  
+  # new cups 2.0.0 service naming
+  sed -i "s|cups.socket|org.cups.cupsd.socket|g" ${pkgdir}/usr/lib/systemd/system/configure-printer at .service
 }



More information about the arch-commits mailing list