mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +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_alpha6
|
|
_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="
|
|
6532281887bbdfd16334a373f87ea1573e3fa03d6b7307232a2fba8b8fb9d9154db8ab40e7c9884b72a6f0fb4b3f65068067c656bfe862ba596ea40f25496611 cosmic-workspaces-1.0.0_alpha6.tar.gz
|
|
"
|