void-packages/srcpkgs/neatvi/template

23 lines
532 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=01
revision=1
build_style=gnu-makefile
short_desc="Small ex/vi editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://litcave.rudi.ir/"
distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz"
checksum=e869048d5929bb337480922a437ffe4717d5a9eac2096a9f5b3f69c8717fd7f5
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
}