summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitHub Action2021-06-24 11:00:08 +0000
committerGitHub Action2021-06-24 11:00:08 +0000
commit1ce5a512549239d47fc08b458fc8da1eb1364763 (patch)
tree322d2427f20703767374890276a7adfdab51f29e
parent6f7c1ec8be2543875d3a0a2a5dc6f5b029e55886 (diff)
downloadaur-1ce5a512549239d47fc08b458fc8da1eb1364763.tar.gz
Update from GitHub Actions: nodejs-cmake-js: update to 6.1.0-2
https://github.com/ouuan/AUR-packages/actions/runs/967640650
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa19880acea9..2af88c0b8788 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nodejs-cmake-js
pkgdesc = CMake.js - a Node.js native addon build tool
pkgver = 6.1.0
- pkgrel = 3
+ pkgrel = 2
url = https://github.com/cmake-js/cmake-js
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index daac7ca8f0fc..cbf46ba4355d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_npmname=cmake-js
pkgname=nodejs-cmake-js
pkgver=6.1.0
-pkgrel=3
+pkgrel=2
pkgdesc="CMake.js - a Node.js native addon build tool"
arch=('any')
url="https://github.com/cmake-js/cmake-js"
@@ -20,7 +20,7 @@ package() {
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
- npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
+ npm install -g --prefix "$pkgdir/usr" "$_npmname@$pkgver"
install -Dm644 "$_npmdir/$_npmname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
chown -R root:root "${pkgdir}"
}