void-packages/srcpkgs/neatvi/template
2017-11-03 13:37:36 +01:00

23 lines
558 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=06
revision=2
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=7010b7d5992743f8e854ba012d66c6965f1da5bd2cc4251edd6e153bda0cd2f1
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
}