summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitHub Action2021-06-24 10:37:59 +0000
committerGitHub Action2021-06-24 10:37:59 +0000
commit0e1e4dd93f4c10c4737f90200e1bdbced702916d (patch)
treee7decfe1ae0f341c19431f56d17ffecf30398462
parent9da7cef3f38736e119327830304bbcc98a20200e (diff)
downloadaur-0e1e4dd93f4c10c4737f90200e1bdbced702916d.tar.gz
Update from GitHub Actions: nodejs-json: update to 11.0.0-1
https://github.com/ouuan/AUR-packages/actions/runs/967625985
-rw-r--r--.AURINFO13
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
3 files changed, 19 insertions, 35 deletions
diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index ef55bfe16637..000000000000
--- a/.AURINFO
+++ /dev/null
@@ -1,13 +0,0 @@
-pkgbase = nodejs-jsontool
- pkgdesc = a 'json' command for massaging JSON on the command line
- pkgver = 7.0.2
- pkgrel = 1
- url = http://github.com/trentm/json
- arch = any
- license = MIT
- depends = nodejs
- source = http://registry.npmjs.org/jsontool/-/jsontool-7.0.2.tgz
- noextract = jsontool-7.0.2.tgz
-
-pkgname = nodejs-jsontool
-
diff --git a/.SRCINFO b/.SRCINFO
index 4a897b3cbf15..9582faff0b7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nodejs-json
- pkgdesc = a 'json' command for massaging JSON on the command line
- pkgver = 9.0.4
- pkgrel = 2
+ pkgdesc = A "json" command for massaging JSON on your Unix command line.
+ pkgver = 11.0.0
+ pkgrel = 1
url = http://github.com/trentm/json
arch = any
license = MIT
@@ -10,9 +10,8 @@ pkgbase = nodejs-json
provides = nodejs-jsontool
conflicts = nodejs-jsontool
replaces = nodejs-jsontool
- noextract = json-9.0.4.tgz
- source = http://registry.npmjs.org/json/-/json-9.0.4.tgz
- sha256sums = 62924b083a96fdfa011c892789e0b298f0f91df8ce6115706506f9681f903494
+ noextract = json-11.0.0.tgz
+ source = http://registry.npmjs.org/json/-/json-11.0.0.tgz
+ sha256sums = cf9adea69034d7b05bf7a76604eed743d98579d4ccb368184c2594588d85cdc0
pkgname = nodejs-json
-
diff --git a/PKGBUILD b/PKGBUILD
index 04061f9451b7..b72391aadc30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
+# Maintainer: Yufan You <ouuansteve at gmail>
# Author: Trent Mick <trentm@gmail.com> (http://trentm.com)
# Contributor: Trent Mick <trentm@gmail.com> (http://trentm.com)
# Contributor: Yaniv Aknin (https://github.com/yaniv-aknin)
# Contributor: Fred Kuo (https://github.com/fkuo)
# Contributor: Bill Pijewski (https://github.com/pijewski)
-# Maintainer: Oliver Mangold <o.mangold@gmail.com>
+# Contributor: Oliver Mangold <o.mangold@gmail.com>
_npmname=json
pkgname=nodejs-json
-pkgver=9.0.4
-pkgrel=2
-pkgdesc="a 'json' command for massaging JSON on the command line"
+pkgver=11.0.0
+pkgrel=1
+pkgdesc='A "json" command for massaging JSON on your Unix command line.'
arch=(any)
url="http://github.com/trentm/json"
license=( 'MIT' )
@@ -20,17 +21,14 @@ conflicts=('nodejs-jsontool')
provides=('nodejs-jsontool')
source=("http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=("$_npmname-$pkgver.tgz")
-sha256sums=('62924b083a96fdfa011c892789e0b298f0f91df8ce6115706506f9681f903494')
+sha256sums=('cf9adea69034d7b05bf7a76604eed743d98579d4ccb368184c2594588d85cdc0')
package() {
- cd $srcdir
- local _npmdir="$pkgdir/usr/lib/node_modules"
- mkdir -p $_npmdir
- cd $_npmdir
- npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
- chown -R root:root "$pkgdir/usr"
- install -d "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/share"
- ln -s "/usr/lib/node_modules/$_npmname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname"
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
+ install -Dm644 "$_npmdir/$_npmname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ chown -R root:root "$pkgdir"
}
-
-# vim:set ts=2 sw=2 et: \ No newline at end of file