diff options
author | Caleb Maclennan | 2021-04-24 15:04:39 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-04-24 15:04:39 +0300 |
commit | a0a1c011d3edc2b2d012709030f4d886e4c99fa2 (patch) | |
tree | 92f7a3d7301320e60d872cb23c3ec4e24f99d0ed | |
parent | d357609f2982124f8cb3b5e969ca0391b37c5347 (diff) | |
download | aur-a0a1c011d3edc2b2d012709030f4d886e4c99fa2.tar.gz |
upgpkg: nodejs-sword-interface 0.222.0-3
Suppress gyp rebuilds
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = nodejs-sword-interface pkgdesc = Javascript (N-API) interface to SWORD library pkgver = 0.222.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/tobias-klein/node-sword-interface arch = x86_64 license = GPL3 @@ -3,7 +3,7 @@ pkgname=nodejs-sword-interface _npmname=${pkgname/js} pkgver=0.222.0 -pkgrel=2 +pkgrel=3 pkgdesc='Javascript (N-API) interface to SWORD library' arch=('x86_64') url="https://github.com/tobias-klein/$_npmname" @@ -16,7 +16,7 @@ sha256sums=('119378d01ae62a647bd3b86e7883a4e4af0b289dac23ac1eb6358baee4720720') prepare() { cd "$_npmname-$pkgver" # Suppress install or link against this package triggering a build! - jq 'del(.scripts[])' package.json | sponge package.json + jq 'del(.scripts[]) | .gypfile=false' package.json | sponge package.json } build() { @@ -30,6 +30,9 @@ package() { npm install \ --production \ --global \ + --no-audit \ + --no-fund \ + --no-update-notifier \ --cache "$srcdir/npm-cache" \ --prefix "$pkgdir/usr" \ $_npmname-$pkgver.tgz |