29 lines
910 B
Bash
29 lines
910 B
Bash
# Template file for 'shotman'
|
|
pkgname=shotman
|
|
version=0.4.5
|
|
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=59ade23793294b5021d4aa6e4151cd3dc2063079011c67ab12e6c6b9d4031b2e
|
|
|
|
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
|
|
}
|