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

Bruno Pagani archange at archlinux.org
Mon Jul 20 11:16:49 UTC 2020


    Date: Monday, July 20, 2020 @ 11:16:48
  Author: archange
Revision: 664619

Rebuild for libjcat 0.1.3

See https://github.com/fwupd/fwupd/issues/2267
Also mesonify PKGBUILD

Modified:
  fwupd/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-20 09:37:54 UTC (rev 664618)
+++ PKGBUILD	2020-07-20 11:16:48 UTC (rev 664619)
@@ -3,7 +3,7 @@
 
 pkgname=fwupd
 pkgver=1.4.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple daemon to allow session software to update firmware"
 arch=(x86_64)
 url="https://github.com/fwupd/fwupd"
@@ -36,18 +36,16 @@
 validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes <richard at hughsie.com>
 
 build() {
-    cd ${pkgname}-${pkgver}
-    arch-meson -D b_lto=false -D plugin_flashrom=true ../build
-    ninja -v -C ../build
+    arch-meson ${pkgname}-${pkgver} build -D b_lto=false -D plugin_flashrom=true
+    meson compile -C build
 }
 
 check() {
-    cd build
-    meson test
+    meson test -C build
 }
 
 package() {
-    DESTDIR="${pkgdir}" ninja -C build install
+    DESTDIR="${pkgdir}" meson install -C build
     # Fixup mode to match polkit
     install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d
     # Remove the tests



More information about the arch-commits mailing list