[arch-commits] Commit in cups-pk-helper/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Jan 14 06:42:05 UTC 2019


    Date: Monday, January 14, 2019 @ 06:42:04
  Author: andyrtr
Revision: 344052

archrelease: copy trunk to extra-x86_64

Added:
  cups-pk-helper/repos/extra-x86_64/PKGBUILD
    (from rev 344051, cups-pk-helper/trunk/PKGBUILD)
Deleted:
  cups-pk-helper/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-14 06:41:53 UTC (rev 344051)
+++ PKGBUILD	2019-01-14 06:42:04 UTC (rev 344052)
@@ -1,27 +0,0 @@
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=cups-pk-helper
-pkgver=0.2.6
-pkgrel=2
-pkgdesc="A helper that makes system-config-printer use PolicyKit"
-arch=(x86_64)
-url="https://www.freedesktop.org/software/cups-pk-helper/releases/"
-license=('GPL')
-depends=(polkit libcups)
-makedepends=(intltool)
-source=(https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz)
-sha256sums=('959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc \
-    --libexecdir=/usr/lib/cups-pk-helper
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: cups-pk-helper/repos/extra-x86_64/PKGBUILD (from rev 344051, cups-pk-helper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-14 06:42:04 UTC (rev 344052)
@@ -0,0 +1,30 @@
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cups-pk-helper
+pkgver=0.2.6
+pkgrel=3
+pkgdesc="A helper that makes system-config-printer use PolicyKit"
+arch=(x86_64)
+url="https://www.freedesktop.org/software/cups-pk-helper/releases/"
+license=('GPL')
+depends=(polkit libcups)
+makedepends=(intltool)
+source=(https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz)
+sha256sums=('959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --libexecdir=/usr/lib/cups-pk-helper
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # 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