void-packages/srcpkgs/imv/template
2021-08-11 16:16:07 +02:00

25 lines
964 B
Bash

# Template file for 'imv'
pkgname=imv
version=4.3.0
revision=2
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://github.com/eXeC64/imv"
changelog="https://raw.githubusercontent.com/eXeC64/imv/master/CHANGELOG"
distfiles="https://github.com/eXeC64/imv/archive/v${version}.tar.gz"
checksum=ad724a41366bb96d29e272f442f5378465fe163d16ec51d7abaa86b1fff7dbb6
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
}