From 1a4e4b6864e77f25970326ce53e7a05c7bad6e53 Mon Sep 17 00:00:00 2001 From: Daniel Martinez Date: Tue, 7 Nov 2023 08:16:32 -0500 Subject: [PATCH] New package: swww-0.8.2 --- srcpkgs/swww/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/swww/template diff --git a/srcpkgs/swww/template b/srcpkgs/swww/template new file mode 100644 index 00000000000000..ef087099d82aff --- /dev/null +++ b/srcpkgs/swww/template @@ -0,0 +1,32 @@ +# Template file for 'swww' +pkgname=swww +version=0.8.2 +revision=1 +build_style=cargo +hostmakedepends="scdoc" +short_desc="Solution to your Wayland Wallpaper Woes" +maintainer="Daniel Martinez " +license="GPL-3.0-only" +homepage="https://github.com/LGFae/swww" +changelog="https://raw.githubusercontent.com/LGFae/swww/v${version}/CHANGELOG.md" +distfiles="https://github.com/LGFae/swww/archive/refs/tags/v${version}.tar.gz" +checksum=6733cda771a0e635dbd00f7aef78ed60f1ccdf640647ecfe02d0cdfdef996b68 + +post_build() { + ./doc/gen.sh +} + +# overriding do_install(), since by default it will pointlessly rebuild the package again +do_install() { + + vbin target/${RUST_TARGET}/release/swww + vbin target/${RUST_TARGET}/release/swww-daemon + + for doc in doc/generated/*; do + vman $doc + done + + vcompletion completions/swww.bash bash + vcompletion completions/swww.fish fish + vcompletion completions/_swww zsh +}