[arch-commits] Commit in nodejs-material-design-icons/repos/community-any (2 files)
Santiago Torres-Arias
sangy at archlinux.org
Sat Feb 6 17:07:02 UTC 2021
Date: Saturday, February 6, 2021 @ 17:07:01
Author: sangy
Revision: 846926
archrelease: copy trunk to community-any
Added:
nodejs-material-design-icons/repos/community-any/PKGBUILD
(from rev 846925, nodejs-material-design-icons/trunk/PKGBUILD)
Deleted:
nodejs-material-design-icons/repos/community-any/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++----------------------
1 file changed, 27 insertions(+), 22 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-06 17:06:32 UTC (rev 846925)
+++ PKGBUILD 2021-02-06 17:07:01 UTC (rev 846926)
@@ -1,22 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_npmname=material-design-icons
-pkgname=nodejs-$_npmname
-pkgver=3.0.1
-pkgrel=3
-pkgdesc="Material Design icons by Google"
-arch=('any')
-url="https://google.github.io/material-design-icons/"
-license=('Apache')
-depends=('nodejs')
-makedepends=('npm')
-source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
-noextract=($_npmname-$pkgver.tgz)
-sha256sums=('e883868c34b21355763fc69d117d658d9c0f4be35711fa6654e57342e6201f7b')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
-
- # Fix permissions
- find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
Copied: nodejs-material-design-icons/repos/community-any/PKGBUILD (from rev 846925, nodejs-material-design-icons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-06 17:07:01 UTC (rev 846926)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_npmname=material-design-icons
+pkgname=nodejs-$_npmname
+pkgver=3.0.1
+pkgrel=4
+pkgdesc="Material Design icons by Google"
+arch=('any')
+url="https://google.github.io/material-design-icons/"
+license=('Apache')
+depends=('nodejs')
+makedepends=('npm')
+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
+
+ # 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