1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Fix a permission issue

This commit is contained in:
2019-10-26 12:13:05 +02:00
parent 68c461b153
commit 6d80c0fab1
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = nodejs-node-pre-gyp
pkgdesc = Node.js tool for easy binary deployment of C++ addons
pkgver = 0.14.0
pkgrel = 1
pkgrel = 2
url = https://github.com/mapbox/node-pre-gyp
arch = any
license = BSD

View File

@@ -2,7 +2,7 @@
_npmname=node-pre-gyp
pkgname=nodejs-node-pre-gyp
pkgver=0.14.0
pkgrel=1
pkgrel=2
pkgdesc="Node.js tool for easy binary deployment of C++ addons "
arch=('any')
url="https://github.com/mapbox/node-pre-gyp"
@@ -26,6 +26,9 @@ package() {
mv "$tmppackage" "$pkgjson"
chmod 644 "$pkgjson"
# Fix a weird permission thing
chmod 755 "$pkgdir/usr/lib/node_modules"
# Install LICENSE in a more findable spot.
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$_npmname/LICENSE"