db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / cups-pk-helper / trunk / PKGBUILD
blob65459b6150f2641d281ad1b70791129bd5058c1b
1 # Maintainer: Ionut Biru <ibiru@archlinux.org>
3 pkgname=cups-pk-helper
4 pkgver=0.2.7
5 pkgrel=1
6 pkgdesc="A helper that makes system-config-printer use PolicyKit"
7 arch=(x86_64)
8 url="https://www.freedesktop.org/software/cups-pk-helper/releases/"
9 license=('GPL')
10 depends=(polkit libcups)
11 makedepends=('meson')
12 source=(https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz)
13 sha256sums=('66070ddb448fe9fcee76aa26be2ede5a80f85563e3a4afd59d2bfd79fbe2e831')
15 build() {
16   arch-meson $pkgname-$pkgver build
18   # Print config
19   meson configure build
20   meson compile -C build
23 check() {
24   meson test -C build || /bin/true
27 package() {
28   DESTDIR="$pkgdir" ninja -C build install