aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cups-pk-helper/APKBUILD
blob: 3dab4b927d978d79b8de3307b252cf048f7f6b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"