From 1df23ddb3fff0073dd61194d580bcb9fcad89963 Mon Sep 17 00:00:00 2001 From: anelki Date: Mon, 26 Feb 2024 13:11:41 -0600 Subject: [PATCH] n: update to 9.2.1 and amend readme.voidlinux for musl/non-x86 --- srcpkgs/n/files/README.voidlinux | 6 +++++- srcpkgs/n/template | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/srcpkgs/n/files/README.voidlinux b/srcpkgs/n/files/README.voidlinux index faefa91351e5ef..90ad5de920e543 100644 --- a/srcpkgs/n/files/README.voidlinux +++ b/srcpkgs/n/files/README.voidlinux @@ -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 diff --git a/srcpkgs/n/template b/srcpkgs/n/template index ad3eab31a29c08..4897850676cf99 100644 --- a/srcpkgs/n/template +++ b/srcpkgs/n/template @@ -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 " 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 }