void-packages/srcpkgs/neatvi/template
2021-11-26 23:24:13 +01:00

23 lines
558 B
Bash

# Template file for 'neatvi'
pkgname=neatvi
version=10
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=643189221b245045a406dadabe35a0d257e3ba0e5e18f0500fb6d3338c349936
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
}