n: update to 9.2.1 and amend readme.voidlinux for musl/non-x86

This commit is contained in:
anelki 2024-02-26 13:11:41 -06:00 committed by classabbyamp
parent 91440809c9
commit e28071fb81
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
It is strongly recommended to set the environment variable N_PREFIX to install to a user-writable area. For example:
export N_PREFIX=$HOME/local/n
N_PREFIX=$HOME/local/n
By default, nodejs only provides official builds for glibc. For musl and other unofficially supported architectures, set the variable like so:
N_NODE_DOWNLOAD_MIRROR=https://unofficial-builds.nodejs.org/download/release

View file

@ -1,19 +1,19 @@
# Template file for 'n'
pkgname=n
version=9.2.0
version=9.2.1
revision=1
build_style=gnu-makefile
depends="curl"
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=5ed8a416014abd115e7174aa32ccba29826eebab2188420404f46931f6388eb1
checksum=f112c291a1f441a14971ce5ee5dfb5f0a5d4251bd5f3ec556ef1c5a0687e3ee6
do_install() {
vbin bin/n n
vbin bin/n
vdoc ${FILESDIR}/README.voidlinux
}