mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/cosmic-bg: new aport
This commit is contained in:
parent
0be918257c
commit
bd3cd64b89
42
testing/cosmic-bg/APKBUILD
Normal file
42
testing/cosmic-bg/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
||||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=cosmic-bg
|
||||
pkgver=1.0.0_alpha6
|
||||
_upstreamver="${pkgver/_alpha/-alpha.}"
|
||||
pkgrel=0
|
||||
pkgdesc="COSMIC session service which applies backgrounds to displays"
|
||||
url="https://github.com/pop-os/cosmic-bg"
|
||||
arch="aarch64 x86_64"
|
||||
license="MPL-2.0"
|
||||
depends="
|
||||
cosmic-icons
|
||||
"
|
||||
makedepends="
|
||||
cargo
|
||||
just
|
||||
libxkbcommon-dev
|
||||
"
|
||||
options="net !check" # fetch dependencies, no tests
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-bg/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="
|
||||
c7c8192a308efd49244f7ed6ea0da2734ec999cf53e9b24d7cdb74cc5c0ba672102bd93fce6039917a1124e17181ba2cca2a20b8ad170e5ff50b497200594b53 cosmic-bg-1.0.0_alpha6.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user