void-packages/srcpkgs/n/template

23 lines
574 B
Bash

# Template file for 'n'
pkgname=n
version=9.2.3
revision=1
build_style=gnu-makefile
depends="curl tar"
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=c160fd30281d2aeb07d0101758f2f592dd3c6a23370417d9c6bf1efb5368a7dd
do_install() {
vbin bin/n
vdoc ${FILESDIR}/README.voidlinux
}
post_install() {
vlicense LICENSE
}