Date: Saturday, April 1, 2017 @ 08:25:28
  Author: felixonmars
Revision: 220249

addpkg: nodejs-material-design-icons 3.0.1-1

Added:
  nodejs-material-design-icons/
  nodejs-material-design-icons/repos/
  nodejs-material-design-icons/trunk/
  nodejs-material-design-icons/trunk/PKGBUILD

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

Added: nodejs-material-design-icons/trunk/PKGBUILD
===================================================================
--- nodejs-material-design-icons/trunk/PKGBUILD                         (rev 0)
+++ nodejs-material-design-icons/trunk/PKGBUILD 2017-04-01 08:25:28 UTC (rev 
220249)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+_npmname=material-design-icons
+pkgname=nodejs-$_npmname
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="Material Design icons by Google"
+arch=('any')
+url="http://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
+  rm -r "$pkgdir"/usr/etc
+
+  # Fix permissions
+  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}


Property changes on: nodejs-material-design-icons/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to