summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreatmyvenom2021-03-08 01:08:11 -0800
committereatmyvenom2021-03-08 01:08:11 -0800
commit8796835a4fd551b2ad900614a3e0fb0b03cfc5ef (patch)
treebdca488cb55afb200eb001d6d2ad44795b77d382
downloadaur-8796835a4fd551b2ad900614a3e0fb0b03cfc5ef.tar.gz
create package
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD22
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c585928b4b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = nodejs-nightly
+ pkgdesc = Nightly version of nodejs evented I/O for V8 javascript
+ pkgver = 16.0.0.nightly20210307d63b717044
+ pkgrel = 1
+ url = http://nodejs.org/
+ arch = x86_64
+ license = MIT
+ makedepends = procps-ng
+ depends = openssl
+ depends = zlib
+ depends = icu
+ depends = libuv
+ depends = http-parser
+ depends = c-ares
+ provides = nodejs=16.0.0.nightly20210307d63b717044
+ provides = nodev16
+ provides = npm
+ conflicts = nodejs
+ conflicts = npm
+ source = https://nodejs.org/download/nightly/v16.0.0-nightly20210307d63b717044/node-v16.0.0-nightly20210307d63b717044-linux-x64.tar.xz
+ md5sums = SKIP
+
+pkgname = nodejs-nightly
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
+}