[arch-commits] Commit in system-config-printer/repos (4 files)

Andreas Radke andyrtr at archlinux.org
Tue Oct 28 12:34:08 UTC 2014


    Date: Tuesday, October 28, 2014 @ 13:34:05
  Author: andyrtr
Revision: 225405

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  system-config-printer/repos/testing-i686/
  system-config-printer/repos/testing-i686/PKGBUILD
    (from rev 225404, system-config-printer/trunk/PKGBUILD)
  system-config-printer/repos/testing-x86_64/
  system-config-printer/repos/testing-x86_64/PKGBUILD
    (from rev 225404, system-config-printer/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: system-config-printer/repos/testing-i686/PKGBUILD (from rev 225404, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-10-28 12:34:05 UTC (rev 225405)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.3
+pkgrel=3
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="http://cyberelk.net/tim/software/system-config-printer/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('python-pycups' 'python-dbus' 'python-pycurl' 'python-gobject2' 'libnotify'
+         'gnome-icon-theme'  'python-gobject' 'gtk3' 'python-cairo')
+makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
+optdepends=('libgnome-keyring: password management'
+            'python-pysmbc: SMB browser support'
+	    'python-packagekit: to install drivers with PackageKit')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('ffedc4d9d175163e1b0e9ddfef51578d'
+         'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-udevdir=/usr/lib/udev --with-udev-rules 
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # Compile *.pyc
+  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
+}

Copied: system-config-printer/repos/testing-x86_64/PKGBUILD (from rev 225404, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-10-28 12:34:05 UTC (rev 225405)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.3
+pkgrel=3
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="http://cyberelk.net/tim/software/system-config-printer/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('python-pycups' 'python-dbus' 'python-pycurl' 'python-gobject2' 'libnotify'
+         'gnome-icon-theme'  'python-gobject' 'gtk3' 'python-cairo')
+makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
+optdepends=('libgnome-keyring: password management'
+            'python-pysmbc: SMB browser support'
+	    'python-packagekit: to install drivers with PackageKit')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('ffedc4d9d175163e1b0e9ddfef51578d'
+         'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-udevdir=/usr/lib/udev --with-udev-rules 
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # Compile *.pyc
+  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