aports/testing/cosmic-applets/APKBUILD
2025-03-08 23:56:53 +00:00

46 lines
1 KiB
Text

# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=cosmic-applets
pkgver=1.0.0_alpha6
_upstreamver="${pkgver/_alpha/-alpha.}"
pkgrel=0
pkgdesc="Applets for the COSMIC Desktop Environment"
url="https://github.com/pop-os/cosmic-applets"
arch="aarch64 x86_64"
license="GPL-3.0-only"
depends="
cosmic-icons
"
makedepends="
cargo
dbus-dev
findutils
just
libinput-dev
libxkbcommon-dev
pulseaudio-dev
"
options="net !check" # fetch dependencies, no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-applets/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="
f0fb7ad13ce5564b56521886f6ca93975c389d80c662d7ef256fda2ce8c1d35be20536a71cc778ffecb9e85c64f28914585bda246dfe06ec05ec05fa2aa4f98b cosmic-applets-1.0.0_alpha6.tar.gz
"