mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 12:54:32 +02:00
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-comp
|
|
pkgver=1.0.0_alpha7
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=1
|
|
pkgdesc="Compositor for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-comp"
|
|
arch="aarch64 x86_64"
|
|
license="GPL-3.0-only"
|
|
makedepends="
|
|
cargo
|
|
fontconfig-dev
|
|
libdisplay-info-dev
|
|
libinput-dev
|
|
libseat-dev
|
|
libxcb-dev
|
|
libxkbcommon-dev
|
|
mesa-dev
|
|
pixman-dev
|
|
wayland-dev
|
|
"
|
|
options="net" # fetch dependencies
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-comp/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
|
builddir="$srcdir/$pkgname-epoch-$_upstreamver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
make ARGS+=" --frozen --release"
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --frozen
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
6dde41de2b3d215068c87318a1f0fd49c73909733cd8a6811f2ede4384a4311d30698dcfb940439b8dbc7e7eae6c28148b4da89f3d65e89d23b12b28e4e592cf cosmic-comp-1.0.0_alpha7.tar.gz
|
|
"
|