vimpager: optional pandoc

This commit is contained in:
q66 2020-11-24 04:16:58 +01:00
parent 6780cf9662
commit cb3e4c1ea3

View file

@ -1,9 +1,9 @@
# Template file for 'vimpager'
pkgname=vimpager
version=2.06
revision=2
revision=3
build_style=gnu-makefile
hostmakedepends="sharutils pandoc tar"
hostmakedepends="sharutils $(vopt_if man pandoc) tar"
short_desc="Pager using vim and less.vim"
maintainer="ivierlin <github@ivierlin.de>"
license="BSD-3-Clause-Attribution"
@ -11,6 +11,13 @@ homepage="https://github.com/rkitover/vimpager"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=cc616d0840a6f2501704eea70de222ab662421f34b2da307e11fb62aa70bda5d
build_options="man"
desc_option_man="Use pandoc for manpages"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le) build_options_default="man" ;;
esac
post_install() {
vlicense LICENSE
}