mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 10:46:59 +02:00
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=cosmic-launcher
|
|
pkgver=1.0.0_alpha6
|
|
_upstreamver="${pkgver/_alpha/-alpha.}"
|
|
pkgrel=0
|
|
pkgdesc="Application launcher for the COSMIC Desktop Environment"
|
|
url="https://github.com/pop-os/cosmic-launcher"
|
|
arch="x86_64 aarch64"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
pop-launcher
|
|
"
|
|
makedepends="
|
|
appstream-glib
|
|
cargo
|
|
desktop-file-utils
|
|
intltool
|
|
just
|
|
libxkbcommon-dev
|
|
wayland-dev
|
|
wayland-protocols
|
|
"
|
|
options="net !check" # fetch dependencies, no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pop-os/cosmic-launcher/archive/refs/tags/epoch-$_upstreamver.tar.gz"
|
|
builddir="$srcdir/$pkgname-epoch-$_upstreamver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo build --release --frozen
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --frozen
|
|
}
|
|
|
|
package() {
|
|
just rootdir="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
5e2ffbe62883c29fdded6f74616773910e2204b2465d66ba450241dde66fcf1cd287d8845db52401865a45f24aba9c243dcd8d559d0ed006662ff29e0aa3b71f cosmic-launcher-1.0.0_alpha6.tar.gz
|
|
"
|