summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14ed051b8ef5fa36b910e0839e0cf3ab65f1a0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=nodejs-nightly
_pkgver=16.0.0-nightly20210312bfa6e37204
pkgver=16.0.0nightly20210312bfa6e37204
pkgrel=1
pkgdesc='Nightly version of nodejs evented I/O for V8 javascript'
arch=('x86_64')
url='http://nodejs.org/'
license=('MIT')
depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares')
makedepends=('procps-ng')
conflicts=('nodejs' 'npm')
provides=("nodejs=$pkgver" 'nodev16' 'npm')
source=("https://nodejs.org/download/nightly/v${_pkgver}/node-v${_pkgver}-linux-x64.tar.xz")
md5sums=('12bb0d3a71823e7633feb3ba38fa3281')

package() {
  	cd node-v$_pkgver-linux-x64
	mkdir $pkgdir/usr
	cp -r {bin,include,lib,share} $pkgdir/usr
	install -D -m644 LICENSE \
		"$pkgdir"/usr/share/licenses/nodejs/LICENSE
}