Date: Friday, January 13, 2017 @ 19:03:32
  Author: andyrtr
Revision: 286207

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

-------------------------+
 testing-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: system-config-printer/repos/testing-i686/PKGBUILD (from rev 286206, 
system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2017-01-13 19:03:32 UTC (rev 286207)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: AndyRTR <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=system-config-printer
+pkgver=1.5.9
+pkgrel=1
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="https://github.com/zdohnal/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})
+source=(https://github.com/zdohnal/system-config-printer/archive/v${pkgver}.tar.gz)
+sha256sums=('c8adf4468a465a2640ac365498f551e8a8645a09027e24004fd390e40b6262e3')
+#validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' #Tim Waugh 
<[email protected]> <[email protected]>
+#              '4629AFE960EC20BEC12E3104B7C20D079491EA63') #Tim Waugh 
<[email protected]>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  touch README ChangeLog
+  autoreconf -fi
+}
+
+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/[email protected]
+}

Copied: system-config-printer/repos/testing-x86_64/PKGBUILD (from rev 286206, 
system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2017-01-13 19:03:32 UTC (rev 286207)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: AndyRTR <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=system-config-printer
+pkgver=1.5.9
+pkgrel=1
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="https://github.com/zdohnal/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})
+source=(https://github.com/zdohnal/system-config-printer/archive/v${pkgver}.tar.gz)
+sha256sums=('c8adf4468a465a2640ac365498f551e8a8645a09027e24004fd390e40b6262e3')
+#validpgpkeys=('02EA6349CE58E1BCAA8514F57955128DA3A1ABD3' #Tim Waugh 
<[email protected]> <[email protected]>
+#              '4629AFE960EC20BEC12E3104B7C20D079491EA63') #Tim Waugh 
<[email protected]>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  touch README ChangeLog
+  autoreconf -fi
+}
+
+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/[email protected]
+}

Reply via email to