diff --git a/srcpkgs/neatvi/template b/srcpkgs/neatvi/template new file mode 100644 index 00000000000..c532b929a01 --- /dev/null +++ b/srcpkgs/neatvi/template @@ -0,0 +1,22 @@ +# Template file for 'neatvi' +pkgname=neatvi +version=00 +revision=1 +build_style=gnu-makefile +short_desc="Small ex/vi editor" +maintainer="Christian Neukirchen " +license="ISC" +homepage="http://litcave.rudi.ir/" +distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz" +checksum=a9b6b9e4a2f677a7d2630758e03c5b9926cfa43819cc6580691aca1c67b625b8 + +alternatives=" + vi:ex:/usr/bin/neatvi + vi:vi:/usr/bin/neatvi +" + +do_install() { + vbin vi neatvi + sed -n '0,/\*\//p' LICENSE + vlicense LICENSE +}