mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +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_alpha7
|
|
_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="
|
|
f4d6da5115ceb36af2be5e5eb26227c8f2d2acc004e1056c28d24776e65ad67be21b0d02757a4f59c0f48c54e57442ddcc83d644a25c7a97ba6f1a295df1b624 cosmic-randr-1.0.0_alpha7.tar.gz
|
|
"
|