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

Morten Linderud foxboron at archlinux.org
Sat Aug 11 19:07:47 UTC 2018


    Date: Saturday, August 11, 2018 @ 19:07:46
  Author: foxboron
Revision: 371171

Added bolt to community

Added:
  bolt/
  bolt/repos/
  bolt/trunk/
  bolt/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: bolt/trunk/PKGBUILD
===================================================================
--- bolt/trunk/PKGBUILD	                        (rev 0)
+++ bolt/trunk/PKGBUILD	2018-08-11 19:07:46 UTC (rev 371171)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgname=bolt
+pkgver=0.4
+pkgrel=1
+pkgdesc="Thunderbolt 3 device manager"
+arch=('i686' 'x86_64')
+url="https://gitlab.freedesktop.org/bolt/bolt"
+license=('LGPL')
+depends=('polkit' 'systemd')
+makedepends=('asciidoc' 'meson')
+checkdepends=('umockdev')
+source=("https://gitlab.freedesktop.org/$pkgname/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('7692799545cd84b31aa7145712c55e36afc0d369c62157b19e5e865deae5f6f6')
+
+build() {
+  cd $pkgname-$pkgver
+
+  install -d ../build
+  arch-meson ../build
+  ninja -v -C ../build
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  ninja -C ../build test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  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"
+}



More information about the arch-commits mailing list