void-packages/srcpkgs/neatvi/template

23 lines
532 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=02
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=b993cf124aa37825e98112bc8539cad77b4b1a1f462b1e3301ef66f2542a3f0d
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
}