mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 16:47:02 +02:00
43 lines
1 KiB
Text
43 lines
1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-idle
|
|
pkgver=1.0.0_alpha6
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="Idle daemon for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-idle"
|
|
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-idle/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="
|
|
d884899ab304b2da375565cb21d20f20fe8c669268a593cb01fabc04b92cc3b255b1ecd58ca0a4cfd76705d0d7f4c7e3322ee978d49e1afc1fc94c9855e60a67 cosmic-idle-1.0.0_alpha6.tar.gz
|
|
"
|