diff --git a/srcpkgs/satty/template b/srcpkgs/satty/template new file mode 100644 index 00000000000..9a38ecc3b81 --- /dev/null +++ b/srcpkgs/satty/template @@ -0,0 +1,24 @@ +# Template file for 'satty' +pkgname=satty +version=0.19.0 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="fontconfig-devel libepoxy-devel libglib-devel gtk4-devel libadwaita-devel" +short_desc="Modern Screenshot Annotation" +maintainer="Fabien JUIF " +license="MPL-2.0" +homepage="https://github.com/gabm/Satty" +distfiles="https://github.com/gabm/Satty/archive/refs/tags/v${version}.tar.gz" +checksum=03244dd0d181dfccb6b88c199ae1eef9f1197af5cc421c4ead955f80493c4491 + +post_install() { + vlicense LICENSE + + vcompletion completions/_satty zsh + vcompletion completions/satty.bash bash + vcompletion completions/satty.fish fish + + vinstall satty.desktop 644 /usr/share/applications + vinstall assets/satty.svg 644 /usr/share/icons/hicolor/scalable/apps +}