void-packages/srcpkgs/neatvi/template

24 lines
558 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=16
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=7ceae3d6433d514c642e6a8bd1cd0fa2992095d64ff2e8a02a40ce90113d6e9f
alternatives="
vi:ex:/usr/bin/neatex
vi:vi:/usr/bin/neatvi
"
do_install() {
vbin vi neatvi
ln -s neatvi ${DESTDIR}/usr/bin/neatex
sed -n '0,/\*\//p' <vi.c >LICENSE
vlicense LICENSE
}