[arch-commits] Commit in polkit/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Dec 15 18:45:34 UTC 2021


    Date: Wednesday, December 15, 2021 @ 18:45:33
  Author: heftig
Revision: 432577

0.120-3: adopt, fix tests

Modified:
  polkit/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-15 18:32:19 UTC (rev 432576)
+++ PKGBUILD	2021-12-15 18:45:33 UTC (rev 432577)
@@ -1,8 +1,9 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=polkit
 pkgver=0.120
-pkgrel=2
+pkgrel=3
 pkgdesc="Application development toolkit for controlling system-wide privileges"
 arch=(x86_64)
 license=(LGPL)
@@ -9,30 +10,30 @@
 url="https://www.freedesktop.org/wiki/Software/polkit/"
 depends=(glib2 pam expat systemd js78)
 makedepends=(meson gtk-doc gobject-introspection git)
+checkdepends=(python-dbusmock)
 backup=(etc/pam.d/polkit-1)
-_commit=92b910ce2273daf6a76038f6bd764fa6958d4e8e
+_commit=92b910ce2273daf6a76038f6bd764fa6958d4e8e  # tags/0.120
 source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
+  cd polkit
   git describe --tags | sed 's/-/+/g'
 }
 
 build() {
-  meson build $pkgname \
-    --prefix=/usr \
+  arch-meson polkit build \
     -D session_tracking=libsystemd-login \
     -D os_type=redhat \
+    -D examples=true \
     -D tests=true \
     -D gtk_doc=true \
-    -D man=true \
-    -D examples=true
+    -D man=true
   meson compile -C build
 }
 
 check() {
-  meson test -C build ||:
+  meson test -C build --print-errorlogs -t 3
 }
 
 package() {
@@ -47,4 +48,4 @@
 END
 }
 
-# vim: ts=2 sw=2 et:
+# vim:set sw=2 et:



More information about the arch-commits mailing list