Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
babel-core
Commits:
781500cc by Sven-Hendrik Haase at 2025-06-13T17:56:45+02:00
upgpkg: 7.21.4-3: Use included license and remove checked-in file
- - - - -
3 changed files:
- .SRCINFO
- − LICENSE
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = babel-core
pkgdesc = A compiler for writing next generation JavaScript
pkgver = 7.21.4
- pkgrel = 2
+ pkgrel = 3
url = https://babeljs.io/
arch = any
license = MIT
@@ -10,8 +10,6 @@ pkgbase = babel-core
depends = semver
noextract = babel-core-7.21.4.tgz
source =
babel-core-7.21.4.tgz::https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz
- source = LICENSE
sha512sums =
aadfd8575e3d2666a7ffa01f9a5c49d382cc22ef1b328ca5dd107dd724c5af142681bad2bd0332edc23c43ad851f1d6df3027c0797eed140e82f01c0854a3540
- sha512sums =
fc5471459770967e2632efb110b8370caa3424b7d87c1180f49605f7e6b1593746888b6c99c713c0c3046c5833c01c1a15bf3d549a343eaa077885bcc9f3d4e3
pkgname = babel-core
=====================================
LICENSE deleted
=====================================
@@ -1,22 +0,0 @@
-Copyright (c) 2014-2015 Sebastian McKenzie <[email protected]>
-
-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.
=====================================
PKGBUILD
=====================================
@@ -2,22 +2,21 @@
pkgname=babel-core
pkgver=7.21.4
-pkgrel=2
+pkgrel=3
pkgdesc="A compiler for writing next generation JavaScript"
arch=('any')
url="https://babeljs.io/"
license=('MIT')
depends=('nodejs' 'semver')
makedepends=('npm')
-source=("$pkgname-$pkgver.tgz::https://registry.npmjs.org/@babel/core/-/core-$pkgver.tgz"
- LICENSE)
+source=("$pkgname-$pkgver.tgz::https://registry.npmjs.org/@babel/core/-/core-$pkgver.tgz")
noextract=($pkgname-$pkgver.tgz)
-sha512sums=('aadfd8575e3d2666a7ffa01f9a5c49d382cc22ef1b328ca5dd107dd724c5af142681bad2bd0332edc23c43ad851f1d6df3027c0797eed140e82f01c0854a3540'
-
'fc5471459770967e2632efb110b8370caa3424b7d87c1180f49605f7e6b1593746888b6c99c713c0c3046c5833c01c1a15bf3d549a343eaa077885bcc9f3d4e3')
+sha512sums=('aadfd8575e3d2666a7ffa01f9a5c49d382cc22ef1b328ca5dd107dd724c5af142681bad2bd0332edc23c43ad851f1d6df3027c0797eed140e82f01c0854a3540')
package() {
npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ tar xf $pkgname-$pkgver.tgz package/LICENSE
+ install -Dm644 package/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
rm -r "$pkgdir"/usr/lib/node_modules/@babel/core/node_modules/{,.bin/}semver
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/babel-core/-/commit/781500ccc4eb7ccb1fd32d1134163adc13097845
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/babel-core/-/commit/781500ccc4eb7ccb1fd32d1134163adc13097845
You're receiving this email because of your account on gitlab.archlinux.org.