[arch-commits] Commit in nodejs-material-design-icons/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:31:34 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:31:34
  Author: felixonmars
Revision: 658823

archrelease: copy trunk to community-staging-any

Added:
  nodejs-material-design-icons/repos/community-staging-any/
  nodejs-material-design-icons/repos/community-staging-any/PKGBUILD
    (from rev 658822, nodejs-material-design-icons/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: nodejs-material-design-icons/repos/community-staging-any/PKGBUILD (from rev 658822, nodejs-material-design-icons/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 14:31:34 UTC (rev 658823)
@@ -0,0 +1,22 @@
+# 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 '{}' +
+}



More information about the arch-commits mailing list