summaryrefslogtreecommitdiff
path: root/user/bolt/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 07:47:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-27 07:47:53 +0000
commit0869e8e6b02d0d61f66aaf94b5aff657b778f4bf (patch)
treec8d6722cb26bac6cca5029654b224df7d63a45a8 /user/bolt/APKBUILD
parent6c9bc4e8ae2b92d15cd7c3fb25c626c1424a770f (diff)
downloadpackages-0869e8e6b02d0d61f66aaf94b5aff657b778f4bf.tar.gz
packages-0869e8e6b02d0d61f66aaf94b5aff657b778f4bf.tar.bz2
packages-0869e8e6b02d0d61f66aaf94b5aff657b778f4bf.tar.xz
packages-0869e8e6b02d0d61f66aaf94b5aff657b778f4bf.zip
user/bolt: New package
Diffstat (limited to 'user/bolt/APKBUILD')
-rw-r--r--user/bolt/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/bolt/APKBUILD b/user/bolt/APKBUILD
new file mode 100644
index 000000000..b14289263
--- /dev/null
+++ b/user/bolt/APKBUILD
@@ -0,0 +1,36 @@
+# 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"