void-packages/srcpkgs/neatvi/template

24 lines
558 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=14
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=758fdb499ae7404146a07bcb6302e4168df03c3d56bbf014d619830ad95a6788
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
}