Skip to content
4 changes: 2 additions & 2 deletions srcpkgs/ncspot/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'ncspot'
pkgname=ncspot
version=1.3.3
version=1.3.4
revision=1
build_style=cargo
build_helper="qemu"
Expand All @@ -14,7 +14,7 @@ license="BSD-2-Clause"
homepage="https://github.com/hrkfdn/ncspot"
changelog="https://raw.githubusercontent.com/hrkfdn/ncspot/main/CHANGELOG.md"
distfiles="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${version}.tar.gz"
checksum=26edf6f1861828452355d614349c0a2af49113b392d7cd52290ea7f180f6bfe5
checksum=93c4448b2c027c08c02295b2ffb1a48b684b65100cf4730b1dc9ae35afe06ea6

post_build() {
cargo auditable build --release --target ${RUST_TARGET} --package xtask
Expand Down
39 changes: 39 additions & 0 deletions srcpkgs/wayle/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Template file for 'wayle'
pkgname=wayle
version=0.5.0
revision=1
build_style=cargo
build_helper="qemu"
_llvmver=22 # matches rust
hostmakedepends="pkg-config clang${_llvmver}"
makedepends="gtk4-devel gtk4-layer-shell-devel gtksourceview5-devel NetworkManager-devel pulseaudio-devel fftw-devel pipewire-devel eudev-libudev-devel"
depends="cava pulseaudio upower bluez"
short_desc="Wayland desktop shell written in Rust with GTK4 and Relm4."
maintainer="Daniel Azevedo <daniazevedo77@posteo.net>"
license="MIT"
homepage="https://wayle.app"
changelog="https://github.com/wayle-rs/wayle/releases"
distfiles="https://github.com/wayle-rs/wayle/archive/refs/tags/v${version}.tar.gz"
checksum=56ba3a56da88de9a63e25f7bab7dd8e90d32ab969b5469eba1ad1f9d5cf63474

do_install() {
cargo auditable install --path wayle
cargo auditable install --path crates/wayle-settings

vbin target/release/wayle
vbin target/release/wayle-settings

vmkdir /usr/share/${pkgname}/icons
vcopy resources/icons/hicolor /usr/share/${pkgname}/icons/

vinstall resources/wayle-settings.svg 644 usr/share/icons/hicolor/scalable/apps
vinstall resources/com.wayle.settings.desktop 644 usr/share/applications
vlicense LICENSE
}

post_install() {
for sh in bash fish zsh; do
vtargetrun target/release/wayle completions "$sh" > "wayle.$sh"
vcompletion "wayle.$sh" "$sh"
done
}