New package: nvimpager-0.6
This commit is contained in:
parent
96296d0fcc
commit
aaf233b8d4
1 changed files with 36 additions and 0 deletions
36
srcpkgs/nvimpager/template
Normal file
36
srcpkgs/nvimpager/template
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Template file for 'nvimpager'
|
||||||
|
pkgname=nvimpager
|
||||||
|
version=0.6
|
||||||
|
revision=1
|
||||||
|
# In pre_build, date is the date of the last commit in the nvimpager repo.
|
||||||
|
# It should be changed when updating to a new version.
|
||||||
|
create_wrksrc=true
|
||||||
|
build_wrksrc="${pkgname}-${version}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_build_target="nvimpager.configured"
|
||||||
|
make_build_args="PREFIX=/usr"
|
||||||
|
hostmakedepends="neovim pandoc"
|
||||||
|
depends="neovim>=0.3.0 bash"
|
||||||
|
short_desc="Wrapper to use neovim as a pager to view manpages, diffs, etc"
|
||||||
|
maintainer="Adrian Herath <adrianisuru@gmail.com>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://github.com/lucc/nvimpager"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz
|
||||||
|
https://www.vim.org/scripts/download_script.php?src_id=14498>AnsiEsc.vba.gz"
|
||||||
|
checksum="0415a57ae53d20a9ecdc5d85c22a2847319631f31d9c5b09fe22506183148c46
|
||||||
|
a80d8c95a2e497e190831f1b580205653c595c6f51b48d4cb89fb33eaea5ed03"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
cat <<< \
|
||||||
|
"---
|
||||||
|
footer: Version v${version}
|
||||||
|
date: 2019-03-05
|
||||||
|
..." \
|
||||||
|
> metadata.yml
|
||||||
|
|
||||||
|
mv ../AnsiEsc.vba ./
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in a new issue