summaryrefslogblamecommitdiff
path: root/user/bolt/APKBUILD
blob: b14289263f911fe60d491f11d78e778124e533b0 (plain) (tree)



































                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bolt
pkgver=0.8
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
	wakeup.patch
	"

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="0fdbc026178a4ca6a8c53aa46933d1c411eb04e350955f8b10c7faff814576d0796dd28e56b968648e549c79cf5fa13d43970d797595af0f66457abaef8ace09  bolt-0.8.tar.gz
487f2c7824edba318692d40ffc4e55f893602587b1380b18877d9dca3b5b22b14e27001b3547369a8ec1a6c5fe7a5facc1fa97e92b3a5011a67ec967afce25ea  wakeup.patch"