[arch-commits] Commit in cups-pk-helper/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 09:48:21 UTC 2020
Date: Saturday, May 16, 2020 @ 09:48:20
Author: foutrelis
Revision: 383947
archrelease: copy trunk to staging-x86_64
Added:
cups-pk-helper/repos/staging-x86_64/
cups-pk-helper/repos/staging-x86_64/PKGBUILD
(from rev 383946, cups-pk-helper/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: cups-pk-helper/repos/staging-x86_64/PKGBUILD (from rev 383946, cups-pk-helper/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 09:48:20 UTC (rev 383947)
@@ -0,0 +1,30 @@
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cups-pk-helper
+pkgver=0.2.6
+pkgrel=4
+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