New package: shotman-0.4.3

This commit is contained in:
mhmdanas 2023-04-03 01:41:40 +01:00 committed by Andrew Benson
parent e0b4338c96
commit c1821abd6c
1 changed files with 28 additions and 0 deletions

28
srcpkgs/shotman/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'shotman'
pkgname=shotman
version=0.4.3
revision=1
build_style=cargo
build_helper="qemu"
hostmakedepends="pkg-config scdoc"
makedepends="libxkbcommon-devel"
depends="slurp"
short_desc="Uncompromising screenshot GUI for Wayland"
maintainer="Mohammed Anas <triallax@tutanota.com>"
license="ISC"
homepage="https://sr.ht/~whynothugo/shotman"
changelog="https://git.sr.ht/~whynothugo/shotman/tree/main/item/README.md#changelog"
distfiles="https://git.sr.ht/~whynothugo/shotman/archive/v${version}.tar.gz"
checksum=75b5999655473e83a43d029bd7880da4bb6ca7ff0da95dd4b87568a53f097155
export SHOTMAN_VERSION="v${version}"
post_install() {
scdoc <shotman.1.scd >shotman.1
vman shotman.1
vlicense LICENCE.md
for shell in bash fish zsh; do
vtargetrun "./target/${RUST_TARGET}/release/shotman_completions" "${shell}" >"completions.${shell}"
vcompletion "completions.${shell}" "${shell}"
done
}