void-packages/srcpkgs/neatvi/template

23 lines
518 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=05
revision=1
build_style=gnu-makefile
short_desc="Small ex/vi editor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://litcave.rudi.ir/"
distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz"
checksum=a9be9a2d68a03c3c3de666290beb004e291e159844e441d1842d7f5bbc0bf0af
alternatives="
vi:ex:/usr/bin/neatvi
vi:vi:/usr/bin/neatvi
"
do_install() {
vbin vi neatvi
sed -n '0,/\*\//p' <vi.c >LICENSE
vlicense LICENSE
}