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

Jan Steffens heftig at archlinux.org
Tue Jun 27 19:53:24 UTC 2017


    Date: Tuesday, June 27, 2017 @ 19:53:23
  Author: heftig
Revision: 241291

0.9.4-2: Fix polkit ruledir mode, use mesontest, use release buildtype

Modified:
  fwupd/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-27 19:22:17 UTC (rev 241290)
+++ PKGBUILD	2017-06-27 19:53:23 UTC (rev 241291)
@@ -1,15 +1,15 @@
+# $Id$
 # Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
 # Contributor: Mirco Tischler <mt-ml at gmx dot de>
 
 pkgname=fwupd
 pkgver=0.9.4
-pkgrel=1
+pkgrel=2
 pkgdesc='A simple daemon to allow session software to update firmware'
 arch=('i686' 'x86_64')
 url='https://github.com/hughsie/fwupd'
 license=('GPL2')
 depends=('appstream-glib' 'fwupdate' 'colord')
-#makedepends=('meson' 'valgrind' 'docbook2x' 'gobject-introspection' 'gtk-doc')
 makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls'
              'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo'
              'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject')
@@ -33,7 +33,7 @@
         --sysconfdir=/etc \
         --localstatedir=/var \
         --libexecdir=/usr/lib \
-        --buildtype=plain \
+        --buildtype=release \
         ../build
 
     ninja -v -C ../build
@@ -40,9 +40,13 @@
 }
 
 check() {
-    ninja -C build test
+    cd build
+    mesontest
 }
 
 package() {
     DESTDIR="${pkgdir}" ninja -C build install
+
+    # Fixup mode to match polkit
+    install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
 }


Property changes on: fwupd/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list