void-packages/srcpkgs/neatvi/template

24 lines
558 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=15
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=895f91a9fa877ce12fa6ec00d843d39fb2a3d8df96bf9ac2dba4d78f3823d8c1
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
}