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:
2
.SRCINFO
2
.SRCINFO
@@ -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
|
||||
|
||||
5
PKGBUILD
5
PKGBUILD
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user