void-packages/srcpkgs/vimpager/template

28 lines
756 B
Bash

# Template file for 'vimpager'
pkgname=vimpager
version=2.06
revision=4
build_style=gnu-makefile
make_install_args="SYSCONFDIR=/etc"
hostmakedepends="sharutils $(vopt_if man pandoc) tar"
depends="bash vim"
short_desc="Pager using vim and less.vim"
maintainer="ivierlin <github@ivierlin.de>"
license="BSD-3-Clause-Attribution"
homepage="https://github.com/rkitover/vimpager"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=cc616d0840a6f2501704eea70de222ab662421f34b2da307e11fb62aa70bda5d
conf_files="/etc/vimpagerrc"
build_options="man"
desc_option_man="Use pandoc for manpages"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
esac
post_install() {
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}