1
0
mirror of https://github.com/bertptrs/aur.git synced 2026-03-27 00:30:36 +01:00

Update to v0.13.0.

This commit has not been published to Github, hence the original version
posted earlier today and hence the switch to using npm's archive.
This commit is contained in:
2019-04-30 11:34:19 +02:00
parent a5c657d13b
commit 819f9771ff
2 changed files with 11 additions and 11 deletions

View File

@@ -1,20 +1,20 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
_npmname=node-pre-gyp
pkgname=nodejs-node-pre-gyp
pkgver=0.12.0
pkgrel=2
pkgver=0.13.0
pkgrel=1
pkgdesc="Node.js tool for easy binary deployment of C++ addons "
arch=('any')
url="https://github.com/mapbox/node-pre-gyp"
license=('BSD')
depends=('nodejs')
makedepends=('npm' 'jq')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
noextract=("$pkgname-$pkgver.tar.gz")
sha256sums=('6d3207e85c68539da11ea5f10fb730cdaf9170ed855158957df00b5a8d692c67')
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=("$_npmname-$pkgver.tgz")
sha1sums=('df9ab7b68dd6498137717838e4f92a33fc9daa42')
package() {
npm install -g --user root --prefix "$pkgdir/usr" "$pkgname-$pkgver.tar.gz"
npm install -g --user root --prefix "$pkgdir/usr" "$_npmname-$pkgver.tgz"
# Remove references to $pkgdir
find "$pkgdir" -type f -name package.json -print0 | xargs -0 sed -i "/_where/d"