void-packages/srcpkgs/neatvi/template
2019-10-07 12:43:19 +02:00

23 lines
558 B
Bash

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