Date: Monday, February 21, 2022 @ 06:09:08
  Author: andyrtr
Revision: 437830

archrelease: copy trunk to testing-x86_64

Added:
  system-config-printer/repos/testing-x86_64/
  system-config-printer/repos/testing-x86_64/PKGBUILD
    (from rev 437829, system-config-printer/trunk/PKGBUILD)
  system-config-printer/repos/testing-x86_64/autoconf-2-70.diff
    (from rev 437829, system-config-printer/trunk/autoconf-2-70.diff)

--------------------+
 PKGBUILD           |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 autoconf-2-70.diff |   10 ++++++++++
 2 files changed, 58 insertions(+)

Copied: system-config-printer/repos/testing-x86_64/PKGBUILD (from rev 437829, 
system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-02-21 06:09:08 UTC (rev 437830)
@@ -0,0 +1,48 @@
+# Maintainer: AndyRTR <andy...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.16
+pkgrel=1
+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-gobject' 'gtk3' 'python-cairo')
+makedepends=('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
 #{,.asc}
+)
+sha256sums=('cbca8409947e4f17877106989aa61ad02bb696c7207c6c353b8815e9e2db37fd')
+#            'SKIP')
+#validpgpkeys=('7ADB58203CA5F046F28025B215AA6A7F4D4227D7') # "Zdenek Dohnal 
(Associate Software Engineer) <zdoh...@redhat.com>"
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --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
+  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/testing-x86_64/autoconf-2-70.diff (from rev 
437829, system-config-printer/trunk/autoconf-2-70.diff)
===================================================================
--- testing-x86_64/autoconf-2-70.diff                           (rev 0)
+++ testing-x86_64/autoconf-2-70.diff   2022-02-21 06:09:08 UTC (rev 437830)
@@ -0,0 +1,10 @@
+--- system-config-printer-1.5.14/configure.ac  2021-01-06 09:03:08.000000000 
+0100
++++ system-config-printer-1.5.14/configure.ac.new      2021-01-06 
10:38:51.997694866 +0100
+@@ -3,6 +3,7 @@
+ AM_INIT_AUTOMAKE([dist-xz dist-bzip2 subdir-objects 1.6])
+ IT_PROG_INTLTOOL
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION(0.21)
+ AM_PATH_PYTHON([3])
+ PACKAGE="AC_PACKAGE_NAME"
+ VERSION="AC_PACKAGE_VERSION"

Reply via email to