void-packages/srcpkgs/n/template

23 lines
572 B
Bash

# Template file for 'n'
pkgname=n
version=9.2.0
revision=1
build_style=gnu-makefile
depends="curl"
short_desc="Simple command line NodeJS version management"
maintainer="anelki <akierig@fastmail.de>"
license="MIT"
homepage="https://github.com/tj/n"
changelog="https://raw.githubusercontent.com/tj/n/master/CHANGELOG.md"
distfiles="https://github.com/tj/n/archive/refs/tags/v${version}.tar.gz"
checksum=5ed8a416014abd115e7174aa32ccba29826eebab2188420404f46931f6388eb1
do_install() {
vbin bin/n n
vdoc ${FILESDIR}/README.voidlinux
}
post_install() {
vlicense LICENSE
}