# Template file for 'n'
pkgname=n
version=9.2.1
revision=1
build_style=gnu-makefile
depends="curl tar xz"
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=f112c291a1f441a14971ce5ee5dfb5f0a5d4251bd5f3ec556ef1c5a0687e3ee6

do_install() {
	vbin bin/n
	vdoc ${FILESDIR}/README.voidlinux
}

post_install() {
	vlicense LICENSE
}
