summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Chevrette2020-02-10 09:34:56 -0500
committerJean-Francois Chevrette2020-02-10 09:34:56 -0500
commitc113f3bd0521683afe4de50a4589bd96010730c1 (patch)
treef55d104de3e581089f5c2415d29ae82f324e825a
downloadaur-c113f3bd0521683afe4de50a4589bd96010730c1.tar.gz
initial commit - v19.129.0
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD26
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..596e661b65b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = nodejs-renovate
+ pkgdesc = Automated dependency updates. Multi-platform and multi-language.
+ pkgver = 19.129.0
+ pkgrel = 1
+ url = https://www.npmjs.com/package/renovate
+ arch = any
+ makedepends = npm
+ depends = nodejs
+ source = http://registry.npmjs.org/renovate/-/renovate-19.129.0.tgz
+ sha256sums = 91c9b8c0d419e435ca8b092344cc7d85a182b5a5a593de20470b2cfc80a2e4b3
+
+pkgname = nodejs-renovate
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..047bcf96b39
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+renovate-*.tgz
+src
+pkg
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..153fd553e87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+_npmname=renovate
+_npmver=19.129.0
+pkgname=nodejs-renovate
+pkgver=19.129.0
+pkgrel=1
+pkgdesc="Automated dependency updates. Multi-platform and multi-language."
+arch=(any)
+url="https://www.npmjs.com/package/renovate"
+license=()
+depends=('nodejs')
+makedepends=('npm')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
+sha256sums=('91c9b8c0d419e435ca8b092344cc7d85a182b5a5a593de20470b2cfc80a2e4b3')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$_npmver.tgz
+
+ # Non-deterministic race in npm gives 777 permissions to random directories.
+ # See https://github.com/npm/npm/issues/9359 for details.
+ find "${pkgdir}"/usr -type d -exec chmod 755 {} +
+
+ # npm gives ownership of ALL FILES to build user
+ # https://bugs.archlinux.org/task/63396
+ chown -R root:root "$pkgdir"
+}