[arch-commits] Commit in nodejs-material-design-icons/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Apr 1 08:25:47 UTC 2017
Date: Saturday, April 1, 2017 @ 08:25:46
Author: felixonmars
Revision: 220250
archrelease: copy trunk to community-any
Added:
nodejs-material-design-icons/repos/community-any/
nodejs-material-design-icons/repos/community-any/PKGBUILD
(from rev 220249, nodejs-material-design-icons/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: nodejs-material-design-icons/repos/community-any/PKGBUILD (from rev 220249, nodejs-material-design-icons/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-04-01 08:25:46 UTC (rev 220250)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at 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 '{}' +
+}
More information about the arch-commits
mailing list