1 # Maintainer: Ionut Biru <ibiru@archlinux.org>
6 pkgdesc="A helper that makes system-config-printer use PolicyKit"
8 url="https://www.freedesktop.org/software/cups-pk-helper/releases/"
10 depends=(polkit libcups)
11 makedepends=(intltool)
12 source=(https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz)
13 sha256sums=('959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228')
17 ./configure --prefix=/usr --sysconfdir=/etc \
18 --libexecdir=/usr/lib/cups-pk-helper
24 make DESTDIR="$pkgdir" install
26 # fix dbus policy location - --with-dbusdir doens't work
27 install -dm755 "${pkgdir}"/usr/share/dbus-1/system.d
28 mv "${pkgdir}"/etc/dbus-1/system.d/* "${pkgdir}"/usr/share/dbus-1/system.d
29 rm -rf "${pkgdir}"/etc/dbus-1