summaryrefslogtreecommitdiff
path: root/user/bolt/APKBUILD
blob: b9b75ff1959a694ad89673a0775312ae7a49fc3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bolt
pkgver=0.9
pkgrel=0
pkgdesc="Thunderbolt 3 device manager"
url=" "
arch="all"
license="LGPL-2.1-only"
depends=""
makedepends="eudev-dev glib-dev meson ninja polkit-dev"
subpackages=""
source="https://gitlab.freedesktop.org/bolt/bolt/-/archive/$pkgver/bolt-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78  bolt-0.9.tar.gz"