void-packages/srcpkgs/neatvi/template
2020-07-05 14:47:46 +02:00

23 lines
558 B
Bash

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