mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
New package: n-9.1.0
This commit is contained in:
parent
b5894125cf
commit
2ba056e874
2 changed files with 25 additions and 0 deletions
3
srcpkgs/n/files/README.voidlinux
Normal file
3
srcpkgs/n/files/README.voidlinux
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
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
|
22
srcpkgs/n/template
Normal file
22
srcpkgs/n/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'n'
|
||||||
|
pkgname=n
|
||||||
|
version=9.1.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
depends="curl"
|
||||||
|
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=48306496413c61d37eeaa0a7328a4520b1da0c42739e046f6f9242de0d0ae270
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin bin/n n
|
||||||
|
vdoc ${FILESDIR}/README.voidlinux
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue