void-packages/srcpkgs/imv/template
Érico Rolim 74670853ec imv: create symlinks for man pages.
imv-x11.1: copy of imv.1, to avoid man.voidlinux.org issues where it's
clobbered by imv.1 from renameutils.

imv-wayland.1: symlink to imv-x11.1.
2020-12-11 15:52:18 -03:00

26 lines
940 B
Bash

# Template file for 'imv'
pkgname=imv
version=4.1.0
revision=3
build_style=gnu-makefile
hostmakedepends="asciidoc pkg-config"
makedepends="cmocka-devel freeimage-devel glu-devel librsvg-devel libxkbcommon-devel
pango-devel wayland-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=8c2f1baa4dce8bf1f6d1fb9dea8cf1da09fdf2c6de0f7030e91714df2ebcdf50
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
}