# Template file for 'n'
pkgname=n
version=10.1.0
revision=1
build_style=gnu-makefile
depends="curl tar"
short_desc="Simple command line NodeJS version management"
maintainer="Orphaned <orphan@voidlinux.org>"
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=53f686808ef37728922ad22e8a5560f4caf1d214d706639ef8eca6e72b891697

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

post_install() {
	vlicense LICENSE
}
