[arch-commits] Commit in babel-cli/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Oct 25 06:39:03 UTC 2016
Date: Tuesday, October 25, 2016 @ 06:39:03
Author: felixonmars
Revision: 193248
archrelease: copy trunk to community-any
Added:
babel-cli/repos/community-any/
babel-cli/repos/community-any/LICENSE
(from rev 193247, babel-cli/trunk/LICENSE)
babel-cli/repos/community-any/PKGBUILD
(from rev 193247, babel-cli/trunk/PKGBUILD)
----------+
LICENSE | 22 ++++++++++++++++++++++
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
Copied: babel-cli/repos/community-any/LICENSE (from rev 193247, babel-cli/trunk/LICENSE)
===================================================================
--- community-any/LICENSE (rev 0)
+++ community-any/LICENSE 2016-10-25 06:39:03 UTC (rev 193248)
@@ -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.
Copied: babel-cli/repos/community-any/PKGBUILD (from rev 193247, babel-cli/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-10-25 06:39:03 UTC (rev 193248)
@@ -0,0 +1,32 @@
+# $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>
+
+pkgname=babel-cli
+pkgver=6.18.0
+pkgrel=1
+pkgdesc="A compiler for writing next generation JavaScript"
+arch=('any')
+url="https://babeljs.io/"
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+provides=('nodejs-babel-cli')
+conflicts=('nodejs-babel-cli')
+replaces=('nodejs-babel-cli')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz"
+ LICENSE)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('5ad8cbc0ce7e3a90dcaf3ff4997bb36f9f0a120154b62e8393eb3bb63e12a99f'
+ '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"
+
+ # Fix permissions
+ find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
More information about the arch-commits
mailing list