summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..710776b39c3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname=nodejs-nightly
+_pkgver=16.0.0-nightly20210307d63b717044
+pkgver=16.0.0.nightly20210307d63b717044
+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=("SKIP")
+
+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
+}