29 lines
909 B
Bash
29 lines
909 B
Bash
# Template file for 'shotman'
|
|
pkgname=shotman
|
|
version=0.4.7
|
|
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="Nicolas Rojas <code@nicolasrojas.me>"
|
|
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=8a2239b37bababcc10db787d931f5d83c3eb254a0f1b30fa5e2d4dd31eff4cc5
|
|
|
|
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
|
|
}
|