Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions srcpkgs/joshuto/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Template file for 'joshuto'
pkgname=joshuto
version=0.9.9
revision=1
archs="x86_64"
build_style=cargo
build_helper="qemu"
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
depends="xsel wl-clipboard fzf zoxide"
short_desc="ranger-like terminal file manager written in Rust"
maintainer="Daniel Azevedo <daniazevedo77@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://crates.io/crates/joshuto"
changelog="https://github.com/kamiyaa/${pkgname}/releases/tag/v${version}"
distfiles="https://github.com/kamiyaa/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=85a230183f7478dee7c29229d78313ee07b759e596e19292acf024d2e5735efa

do_install() {
vbin target/x86_64-unknown-linux-gnu/release/joshuto
}

post_install() {
for sh in bash fish zsh; do
vtargetrun target/x86_64-unknown-linux-gnu/release/joshuto completions "$sh" > "joshuto.$sh"
vcompletion "joshuto.$sh" "$sh"
done
}
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
40 changes: 40 additions & 0 deletions srcpkgs/wayle/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Template file for 'wayle'
pkgname=wayle
version=0.6.0
revision=1
archs="x86_64"
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=1d887b9378d04dcf29057d4c8fb8323341f4f0e7ef094feea8ddbdcbf4dfa72e

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
}