void-packages/srcpkgs/imv/template

27 lines
976 B
Bash

# Template file for 'imv'
pkgname=imv
version=4.3.1
revision=3
wrksrc="imv-v${version}"
build_style=meson
hostmakedepends="asciidoc pkg-config cmake"
makedepends="cmocka-devel freeimage-devel glu-devel librsvg-devel libheif-devel libxkbcommon-devel
pango-devel wayland-devel inih-devel"
depends="desktop-file-utils"
conf_files="/etc/imv_config"
short_desc="Image viewer for X11/Wayland"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-2.0-or-later, MIT"
homepage="https://sr.ht/~exec64/imv/"
changelog="https://git.sr.ht/~exec64/imv/blob/master/CHANGELOG"
distfiles="https://git.sr.ht/~exec64/imv/archive/v${version}.tar.gz"
checksum=88d16885017b74b594ddd6a03ef20294a6cc053f04ccc2e1edef69f3515f7999
conflicts="renameutils>=0"
post_install() {
# copy the man page so it isn't clobbered by renameutils in man.voidlinux.org
vman "${DESTDIR}/usr/share/man/man1/imv.1" imv-x11.1
ln -s imv-x11.1 "${DESTDIR}/usr/share/man/man1/imv-wayland.1"
vlicense LICENSE
}