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

Andreas Radke andyrtr at archlinux.org
Sun Dec 21 18:38:14 UTC 2014


    Date: Sunday, December 21, 2014 @ 19:38:13
  Author: andyrtr
Revision: 227910

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 227909, system-config-printer/trunk/PKGBUILD)
  system-config-printer/repos/testing-x86_64/
  system-config-printer/repos/testing-x86_64/PKGBUILD
    (from rev 227909, system-config-printer/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: system-config-printer/repos/testing-i686/PKGBUILD (from rev 227909, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-12-21 18:38:13 UTC (rev 227910)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.4
+pkgrel=2
+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'
+            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3') #Tim Waugh <twaugh at redhat.com> <tim at cyberelk.net>
+md5sums=('dd5b4c6b8c47e2bd780960b38a8e9a77'
+         '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 227909, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-12-21 18:38:13 UTC (rev 227910)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.4
+pkgrel=2
+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'
+            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3') #Tim Waugh <twaugh at redhat.com> <tim at cyberelk.net>
+md5sums=('dd5b4c6b8c47e2bd780960b38a8e9a77'
+         '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