[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Fri Oct 30 07:12:09 UTC 2015


    Date: Friday, October 30, 2015 @ 08:12:09
  Author: fyan
Revision: 145278

addpkg: babel 6.0.12-1

Added:
  babel/
  babel/repos/
  babel/trunk/
  babel/trunk/LICENSE
  babel/trunk/PKGBUILD

----------+
 LICENSE  |   22 ++++++++++++++++++++++
 PKGBUILD |   23 +++++++++++++++++++++++
 2 files changed, 45 insertions(+)

Added: babel/trunk/LICENSE
===================================================================
--- babel/trunk/LICENSE	                        (rev 0)
+++ babel/trunk/LICENSE	2015-10-30 07:12:09 UTC (rev 145278)
@@ -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: babel/trunk/PKGBUILD
===================================================================
--- babel/trunk/PKGBUILD	                        (rev 0)
+++ babel/trunk/PKGBUILD	2015-10-30 07:12:09 UTC (rev 145278)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=babel
+pkgdesc='Turn ES6 code into readable vanilla ES5 with source maps'
+pkgver=6.0.12
+pkgrel=1
+arch=('any')
+url='https://babeljs.io/'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm' 'git')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz
+        LICENSE)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('9bb932108cec6f6cb42c98dc68cbec50fd4a025e958762ad36d432992e155f5b'
+            '8a5a22eb7991f5a022b91273b2395c2342f56fb43deddd29c248efb40c8ad62c')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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



More information about the arch-commits mailing list