aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wldash/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wldash/APKBUILD')
-rw-r--r--testing/wldash/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/wldash/APKBUILD b/testing/wldash/APKBUILD
new file mode 100644
index 0000000000..45c6d8790c
--- /dev/null
+++ b/testing/wldash/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=wldash
+pkgver=0.2_git20210902
+_gitrev=5e5e8876f6dbecaf508045f400b63097ddccef6b
+pkgrel=0
+pkgdesc="Wayland dashboard/launcher/thing"
+url="https://github.com/kennylevinsen/wldash"
+arch="aarch64 armhf armv7 ppc64le x86 x86_64" # limited by rust/cargo
+license="GPL-3.0"
+makedepends="
+ alsa-lib-dev
+ cargo
+ dbus-dev
+ fontconfig-dev
+ pulseaudio-dev
+ wayland-dev
+ "
+subpackages="$pkgname-doc"
+source="https://github.com/kennylevinsen/wldash/archive/$_gitrev/$pkgname-$_gitrev.tar.gz
+ minimize-size.patch
+ "
+builddir="$srcdir/$pkgname-$_gitrev"
+
+build() {
+ cargo build --release --locked
+}
+
+check() {
+ cargo test --locked
+}
+
+package() {
+ cargo install --locked --path . --root="$pkgdir/usr"
+ rm "$pkgdir"/usr/.crates*
+
+ install -D -m644 config.yaml "$pkgdir"/usr/share/doc/$pkgname/
+}
+
+sha512sums="
+19ed56c947baf4fd2e5e263551300d55b5cbd5564d601943bc05646b8af53b1bb0af1e8212d19c326f0c2df020928638fbd5caaba341e9c33e75c8ac7d301fd0 wldash-5e5e8876f6dbecaf508045f400b63097ddccef6b.tar.gz
+6d02ca7e1d52c7523f9317a9277b8cd634bf4d19bfb4280547cc44705f341cc86bcb0bb2d0e31b820ca43f3be7acdc32ccf443a17afaca1f22325b5d69f544d8 minimize-size.patch
+"