void-packages/srcpkgs/grim/template

23 lines
748 B
Bash

# Template file for 'grim'
pkgname=grim
version=1.4.0
revision=1
wrksrc="grim-v${version}"
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="Derriick <derriick.ensiie@yahoo.com>"
license="MIT"
homepage="https://wayland.emersion.fr/grim/"
distfiles="https://git.sr.ht/~emersion/grim/archive/v${version}.tar.gz"
checksum=66729ae654546404f50ed163055310dd23ed52cc5a881d39752c0cd076e3d7aa
post_install() {
vlicense LICENSE
vcompletion contrib/completions/bash/grim.bash bash
vcompletion contrib/completions/fish/grim.fish fish
}