void-packages/srcpkgs/neatvi/template

23 lines
532 B
Bash
Raw Normal View History

2016-04-22 15:01:01 +00:00
# Template file for 'neatvi'
pkgname=neatvi
2016-07-05 11:31:39 +00:00
version=03
2016-04-22 15:01:01 +00:00
revision=1
build_style=gnu-makefile
short_desc="Small ex/vi editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://litcave.rudi.ir/"
distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz"
2016-07-05 11:31:39 +00:00
checksum=23d88a58ca2ed808198cab43ba096395630a6bfbedc869131e731f3a0b0f1f57
2016-04-22 15:01:01 +00:00
alternatives="
vi:ex:/usr/bin/neatvi
vi:vi:/usr/bin/neatvi
"
do_install() {
vbin vi neatvi
sed -n '0,/\*\//p' <vi.c >LICENSE
vlicense LICENSE
}