diff options
Diffstat (limited to 'testing/bolt/APKBUILD')
-rw-r--r-- | testing/bolt/APKBUILD | 36 |
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" |