# Template file for 'n'
pkgname=n
version=10.2.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=5914f0d5e89aadaaaeb803baa89a7582747b0c57ad30201b3522cd76f504c7d9

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

post_install() {
	vlicense LICENSE
}
