[arch-commits] Commit in bolt/repos (community-x86_64 community-x86_64/PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Aug 11 19:08:49 UTC 2018
Date: Saturday, August 11, 2018 @ 19:08:48
Author: foxboron
Revision: 371173
archrelease: copy trunk to community-x86_64
Added:
bolt/repos/community-x86_64/
bolt/repos/community-x86_64/PKGBUILD
(from rev 371172, bolt/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: bolt/repos/community-x86_64/PKGBUILD (from rev 371172, bolt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-11 19:08:48 UTC (rev 371173)
@@ -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=2
+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