[arch-commits] Commit in nodejs-material-design-icons/trunk (PKGBUILD)
Santiago Torres-Arias
sangy at archlinux.org
Sat Feb 6 17:06:32 UTC 2021
Date: Saturday, February 6, 2021 @ 17:06:32
Author: sangy
Revision: 846925
upgpkg: nodejs-material-design-icons 3.0.1-4
FIX: permission issues (files owned by builduser)
REMOVE: strip, it's not needed for a bunch of icons
Modified:
nodejs-material-design-icons/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-06 17:06:14 UTC (rev 846924)
+++ PKGBUILD 2021-02-06 17:06:32 UTC (rev 846925)
@@ -3,7 +3,7 @@
_npmname=material-design-icons
pkgname=nodejs-$_npmname
pkgver=3.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Material Design icons by Google"
arch=('any')
url="https://google.github.io/material-design-icons/"
@@ -13,6 +13,7 @@
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=($_npmname-$pkgver.tgz)
sha256sums=('e883868c34b21355763fc69d117d658d9c0f4be35711fa6654e57342e6201f7b')
+options=("!strip")
package() {
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
@@ -19,4 +20,8 @@
# Fix permissions
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+
+ # npm gives ownership of ALL FILES to build user
+ # https://bugs.archlinux.org/task/63396
+ chown -R root:root "${pkgdir}"
}
More information about the arch-commits
mailing list