void-packages/srcpkgs/grim/template

22 lines
717 B
Bash

# Template file for 'grim'
pkgname=grim
version=1.4.1
revision=1
build_style=meson
configure_args="-Djpeg=enabled -Dwerror=false"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="wayland-devel wayland-protocols pixman-devel libjpeg-turbo-devel
libpng-devel"
short_desc="Grab images from a Wayland compositor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wayland.emersion.fr/grim/"
distfiles="https://git.sr.ht/~emersion/grim/archive/v${version}.tar.gz"
checksum=5ed8e70fcd83a7e203e92d34dbb82a1342d3f13ad98a6b0310cc97e1a9342ded
post_install() {
vlicense LICENSE
vcompletion contrib/completions/bash/grim.bash bash
vcompletion contrib/completions/fish/grim.fish fish
}