diff --git a/testing/tangara-companion/APKBUILD b/testing/tangara-companion/APKBUILD new file mode 100644 index 00000000000..176293bc435 --- /dev/null +++ b/testing/tangara-companion/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Clayton Craft +# Maintainer: Clayton Craft +pkgname=tangara-companion +pkgver=0.4.3 +pkgrel=0 +pkgdesc="Companion app for the Tangara music player from Cool Tech Zone" +url="https://github.com/haileys/tangara-companion" +arch="all !loongarch64 !s390x" # build fails for these archs +license="GPL-3.0-only" +makedepends=" + bash + cargo + cargo-auditable + glib-dev + gtk4.0-dev + libadwaita-dev + meson + ninja + " +source="https://github.com/haileys/tangara-companion/archive/v$pkgver/tangara-companion-$pkgver.tar.gz" +options="net !check" # net: for cargo fetch, !check: no tests + +build() { + abuild-meson \ + --buildtype=release \ + . output + meson compile -C output +} + +check() { + cargo test --frozen +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums=" +9ae340186d0e7e49a77f0ab533be694c3e9069e78a924468e6130797d4f8149ff118159660a59c3c0a9afb1529fb2b76d9ccf7ca76066755866c35a5a0c5c287 tangara-companion-0.4.3.tar.gz +"