[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Fri Oct 30 07:24:01 UTC 2015


    Date: Friday, October 30, 2015 @ 08:24:01
  Author: fyan
Revision: 145286

addpkg: nodejs-babel-cli 6.0.12-1

Added:
  nodejs-babel-cli/
  nodejs-babel-cli/repos/
  nodejs-babel-cli/trunk/
  nodejs-babel-cli/trunk/LICENSE
  nodejs-babel-cli/trunk/PKGBUILD

----------+
 LICENSE  |   22 ++++++++++++++++++++++
 PKGBUILD |   27 +++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

Added: nodejs-babel-cli/trunk/LICENSE
===================================================================
--- nodejs-babel-cli/trunk/LICENSE	                        (rev 0)
+++ nodejs-babel-cli/trunk/LICENSE	2015-10-30 07:24:01 UTC (rev 145286)
@@ -0,0 +1,22 @@
+Copyright (c) 2014-2015 Sebastian McKenzie <sebmck at gmail.com>
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Added: nodejs-babel-cli/trunk/PKGBUILD
===================================================================
--- nodejs-babel-cli/trunk/PKGBUILD	                        (rev 0)
+++ nodejs-babel-cli/trunk/PKGBUILD	2015-10-30 07:24:01 UTC (rev 145286)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
+# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
+# Contributor: Peter Wu <lekensteyn at gmail dot com>
+
+_npmname=babel-cli
+pkgname=nodejs-$_npmname
+pkgver=6.0.12
+pkgrel=1
+pkgdesc="A compiler for writing next generation JavaScript"
+arch=('any')
+url="https://babeljs.io/"
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz"
+        LICENSE)
+noextract=($_npmname-$pkgver.tgz)
+sha256sums=('8b396823d6aec01f98578dda4486c27616ddaf055edfb2e11a6020d291b6b5cc'
+            '8a5a22eb7991f5a022b91273b2395c2342f56fb43deddd29c248efb40c8ad62c')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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



More information about the arch-commits mailing list