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

Jan Steffens heftig at archlinux.org
Fri Jun 14 16:39:35 UTC 2019


    Date: Friday, June 14, 2019 @ 16:39:34
  Author: heftig
Revision: 481483

0.8-2: polkit dir permissions, use recommended meson entry points

Modified:
  bolt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-14 16:25:26 UTC (rev 481482)
+++ PKGBUILD	2019-06-14 16:39:34 UTC (rev 481483)
@@ -3,7 +3,7 @@
 
 pkgname=bolt
 pkgver=0.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Thunderbolt 3 device manager"
 arch=('x86_64')
 url="https://gitlab.freedesktop.org/bolt/bolt"
@@ -17,7 +17,6 @@
 build() {
   cd $pkgname-$pkgver
 
-  install -d ../build
   arch-meson ../build
   ninja -v -C ../build
 }
@@ -25,11 +24,12 @@
 check() {
   cd $pkgname-$pkgver
 
-  ninja -C ../build test
+  meson test -C ../build --print-errorlogs
 }
 
 package() {
   cd $pkgname-$pkgver
 
-  DESTDIR="${pkgdir}" ninja -C ../build install
+  DESTDIR="${pkgdir}" meson install -C ../build
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
 }


More information about the arch-commits mailing list