aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-04 15:53:41 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-05 18:03:00 +0000
commit5b9fa3fb45bcc423e9c345d0b98f4b353e8d6af7 (patch)
treea39bc8272544312d1154137e8ea2d3146bdb4e36
parent7dc66d55d11e19e438e37d3df490acecdaf3860f (diff)
downloadaports-5b9fa3fb45bcc423e9c345d0b98f4b353e8d6af7.tar.gz
aports-5b9fa3fb45bcc423e9c345d0b98f4b353e8d6af7.tar.bz2
aports-5b9fa3fb45bcc423e9c345d0b98f4b353e8d6af7.tar.xz
testing/bolt: new aport
-rw-r--r--testing/bolt/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/bolt/APKBUILD b/testing/bolt/APKBUILD
new file mode 100644
index 0000000000..c4e8ceec98
--- /dev/null
+++ b/testing/bolt/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=bolt
+pkgver=0.7
+pkgrel=0
+pkgdesc="Thunderbolt 3 device manager"
+url="https://gitlab.freedesktop.org/bolt/bolt"
+arch="all"
+license="LGPL-2.1-or-later"
+makedepends="meson eudev-dev glib-dev polkit-dev asciidoc"
+checkdepends="dbus py3-gobject3"
+subpackages="$pkgname-doc"
+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 \
+ --buildtype=release \
+ -Dman=true \
+ -Dsystemd=false \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="6786f701501cc2680fac52cda7cdfe37971044abcf058b5c83bfa9f1d0a0381ba00e3377cfc97fcccf53760a2eafc1f8f6d0754f0e121d94201711ad8e40a135 bolt-0.7.tar.gz"