mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
39 lines
1,007 B
Text
39 lines
1,007 B
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-randr
|
|
pkgver=1.0.0_alpha6
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="Display configuration library for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-randr"
|
|
arch="aarch64 x86_64"
|
|
license="MPL-2.0"
|
|
depends="wayland"
|
|
makedepends="
|
|
cargo
|
|
just
|
|
"
|
|
options="net !check" # fetch dependencies, no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-randr/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="
|
|
a7eb0956811cb7ceff3948df1e2e36f0906ed53f7c5e6f0e5830d3a1083c4a9cbbfa16baa6db07511da7f34061c7250412a24f064b8fc0b15536cb6b0e6d569c cosmic-randr-1.0.0_alpha6.tar.gz
|
|
"
|