mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/cosmic-idle: new aport
This commit is contained in:
parent
0364b38733
commit
a1b05c8ee6
43
testing/cosmic-idle/APKBUILD
Normal file
43
testing/cosmic-idle/APKBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
# 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
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user