aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-13 09:30:43 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-08-15 18:24:48 -0300
commit54cab2765158e9ce1beb2f5739eb2ada978d1e52 (patch)
tree32acd98765970bd0c17c7ffa17562a854fcf0d94 /testing
parent205db9b58d01646946ba47429996e3bb19c429ef (diff)
downloadaports-54cab2765158e9ce1beb2f5739eb2ada978d1e52.tar.bz2
aports-54cab2765158e9ce1beb2f5739eb2ada978d1e52.tar.xz
testing/cups-pk-helper: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/cups-pk-helper/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/cups-pk-helper/APKBUILD b/testing/cups-pk-helper/APKBUILD
new file mode 100644
index 0000000000..3dab4b927d
--- /dev/null
+++ b/testing/cups-pk-helper/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=cups-pk-helper
+pkgver=0.2.6
+pkgrel=0
+pkgdesc="PolicyKit helper to configure cups with fine-grained privileges"
+url="https://www.freedesktop.org/wiki/Software/cups-pk-helper/"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="glib-dev polkit-dev cups-dev intltool"
+subpackages="$pkgname-lang"
+source="http://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="33f1b6f58f4772148bd1cfb8163dacaffd3cc62f2d03731710c98b765ebb8b87541cb9cf43e886880134c32db91a43c7142b1556a0abdf1449068031b0d5fbd3 cups-pk-helper-0.2.6.tar.xz"