void-packages/srcpkgs/swayimg/template

25 lines
854 B
Bash

# Template file for 'swayimg'
pkgname=swayimg
version=3.1
revision=1
build_style=meson
configure_args="-D version=${version}"
hostmakedepends="pkg-config wayland-devel"
makedepends="wayland-devel cairo-devel json-c-devel libxkbcommon-devel
wayland-protocols libheif-devel giflib-devel libjpeg-turbo-devel
libpng-devel librsvg-devel libwebp-devel libexif-devel tiff-devel
libopenexr-devel libjxl-devel"
short_desc="Image viewer for Sway/Wayland"
maintainer="voidbert <humbertogilgomes@protonmail.com>"
license="MIT"
homepage="https://github.com/artemsen/swayimg"
distfiles="https://github.com/artemsen/swayimg/archive/v${version}.tar.gz"
checksum=0c6cb7112e160e1a29a566c92c5b7c6f8c5ded34aa0b94093cd4dbc3beea706a
post_install() {
vcompletion extra/bash.completion bash
vcompletion extra/zsh.completion zsh
vsconf extra/swayimgrc
vlicense LICENSE
}