[arch-commits] Commit in system-config-printer/repos/staging-x86_64 (2 files)

Andreas Radke andyrtr at archlinux.org
Fri Nov 20 19:45:11 UTC 2020


    Date: Friday, November 20, 2020 @ 19:45:10
  Author: andyrtr
Revision: 401569

archrelease: copy trunk to staging-x86_64

Added:
  system-config-printer/repos/staging-x86_64/PKGBUILD
    (from rev 401568, system-config-printer/trunk/PKGBUILD)
Deleted:
  system-config-printer/repos/staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 50 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-20 19:45:05 UTC (rev 401568)
+++ PKGBUILD	2020-11-20 19:45:10 UTC (rev 401569)
@@ -1,53 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=system-config-printer
-pkgver=1.5.13
-pkgrel=2
-pkgdesc="A CUPS printer configuration tool and status applet"
-url="https://github.com/OpenPrinting/system-config-printer"
-arch=('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' 'libsecret')
-optdepends=('libsecret: password management'
-            'python-pysmbc: SMB browser support'
-            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
-source=(https://github.com/OpenPrinting/system-config-printer/releases/download/v${pkgver}/system-config-printer-${pkgver}.tar.xz)
-sha256sums=('eea3f06448aa5bb5fa0decdf9b912aefd21e3bd6615fc3e77b349ca443dcb8a1')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  # create missing dummy files
-  #touch ./{README,ChangeLog}
-  touch README
-  autoreconf -vfi
-}
-
-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
-
-  # fix dbus policy location - --with-dbusdir doens't work
-  install -dm755 "$pkgdir"/usr/share/dbus-1/system.d
-  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d
-  rm -rf "$pkgdir"/etc/dbus-1
-}

Copied: system-config-printer/repos/staging-x86_64/PKGBUILD (from rev 401568, system-config-printer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-20 19:45:10 UTC (rev 401569)
@@ -0,0 +1,50 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.13
+pkgrel=4
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="https://github.com/OpenPrinting/system-config-printer"
+arch=('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' 'libsecret')
+optdepends=('libsecret: password management'
+            'python-pysmbc: SMB browser support'
+            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
+source=(https://github.com/OpenPrinting/system-config-printer/releases/download/v${pkgver}/system-config-printer-${pkgver}.tar.xz)
+sha256sums=('eea3f06448aa5bb5fa0decdf9b912aefd21e3bd6615fc3e77b349ca443dcb8a1')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # create missing dummy files
+  #touch ./{README,ChangeLog}
+  touch README
+  autoreconf -vfi
+}
+
+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 {} +
+  
+  # fix dbus policy location - --with-dbusdir doens't work
+  install -dm755 "$pkgdir"/usr/share/dbus-1/system.d
+  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d
+  rm -rf "$pkgdir"/etc/dbus-1
+}



More information about the arch-commits mailing list