[arch-commits] Commit in system-config-printer/repos (4 files)
Felix Yan
fyan at archlinux.org
Tue Sep 22 05:16:37 UTC 2015
Date: Tuesday, September 22, 2015 @ 07:16:37
Author: fyan
Revision: 247061
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
system-config-printer/repos/staging-i686/
system-config-printer/repos/staging-i686/PKGBUILD
(from rev 247060, system-config-printer/trunk/PKGBUILD)
system-config-printer/repos/staging-x86_64/
system-config-printer/repos/staging-x86_64/PKGBUILD
(from rev 247060, system-config-printer/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: system-config-printer/repos/staging-i686/PKGBUILD (from rev 247060, system-config-printer/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-22 05:16:37 UTC (rev 247061)
@@ -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.7
+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' 'libnotify'
+ 'python-requests' '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})
+md5sums=('1a0c6a4566a5479733945f6db32d6f00'
+ 'SKIP')
+validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' #Tim Waugh <twaugh at redhat.com> <tim at cyberelk.net>
+ '4629AFE960EC20BEC12E3104B7C20D079491EA63') #Tim Waugh <tim at cyberelk.net>
+
+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/staging-x86_64/PKGBUILD (from rev 247060, system-config-printer/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-22 05:16:37 UTC (rev 247061)
@@ -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.7
+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' 'libnotify'
+ 'python-requests' '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})
+md5sums=('1a0c6a4566a5479733945f6db32d6f00'
+ 'SKIP')
+validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' #Tim Waugh <twaugh at redhat.com> <tim at cyberelk.net>
+ '4629AFE960EC20BEC12E3104B7C20D079491EA63') #Tim Waugh <tim at cyberelk.net>
+
+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