mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 18:59:17 +02:00
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-workspaces
|
|
pkgver=1.0.0_alpha7
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="Workspace component for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-workspaces"
|
|
arch="x86_64 aarch64"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
cosmic-icons
|
|
"
|
|
makedepends="
|
|
cargo
|
|
eudev-dev
|
|
desktop-file-utils
|
|
just
|
|
libinput-dev
|
|
libxkbcommon-dev
|
|
mesa-dev
|
|
wayland-dev
|
|
wayland-protocols
|
|
"
|
|
options="net !check" # fetch dependencies, no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-workspaces-epoch/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
|
builddir="$srcdir/$pkgname-epoch-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="
|
|
cfd0f7516da37780f61e1b315ca08db9d071e91477b133cce062c28cf5bf2972013329d9b0f69abab6903935c82f700b8ad540f4cb0a1844e34826f573635b8b cosmic-workspaces-1.0.0_alpha7.tar.gz
|
|
"
|