void-packages/srcpkgs/neatvi/template

23 lines
518 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=06
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=7010b7d5992743f8e854ba012d66c6965f1da5bd2cc4251edd6e153bda0cd2f1
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
}