From d98d49fbb2c35b49f7527ed7fcd0b97de4e3e302 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 26 Feb 2025 12:59:52 -0800 Subject: [PATCH] testing/cosmic-notifications: new aport --- testing/cosmic-notifications/APKBUILD | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 testing/cosmic-notifications/APKBUILD diff --git a/testing/cosmic-notifications/APKBUILD b/testing/cosmic-notifications/APKBUILD new file mode 100644 index 00000000000..aa45f6be7c2 --- /dev/null +++ b/testing/cosmic-notifications/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Clayton Craft +# Maintainer: Clayton Craft +pkgname=cosmic-notifications +pkgver=1.0.0_alpha6 +_upstreamver="${pkgver/_alpha/-alpha.}" +pkgrel=0 +pkgdesc="Notification daemon for the COSMIC Desktop Environment" +url="https://github.com/pop-os/cosmic-notifications" +arch="aarch64 x86_64" +license="GPL-3.0-only" +depends=" + cosmic-icons +" +makedepends=" + cargo + just + libxkbcommon-dev + wayland-dev +" +options="net !check" # fetch dependencies, no tests +source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-notifications/archive/refs/tags/epoch-$_upstreamver.tar.gz" +builddir="$srcdir/$pkgname-epoch-$_upstreamver" + +prepare() { + default_prepare + cargo fetch --target="$CTARGET" --locked +} + +build() { + just build-release --frozen +} + +check() { + cargo test --release --frozen +} + +package() { + just rootdir="$pkgdir" install +} + +sha512sums=" +dc3039c2b653a1e50701a008ca5b9e2a1a69948522481aee3e136a68b7f5f712b6ec1ec31411bda9733721ff4f879288d95d09b3f028ad1d8727adb3d1e2955f cosmic-notifications-1.0.0_alpha6.tar.gz +"