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.
This commit is contained in:
Érico Rolim 2020-06-13 12:26:20 -03:00 committed by Érico Nogueira Rolim
parent 4123f14e9f
commit 74670853ec
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'imv'
pkgname=imv
version=4.1.0
revision=2
revision=3
build_style=gnu-makefile
hostmakedepends="asciidoc pkg-config"
makedepends="cmocka-devel freeimage-devel glu-devel librsvg-devel libxkbcommon-devel
@ -18,5 +18,8 @@ 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
}