[arch-commits] Commit in rapydscript-ng/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Nov 10 21:23:20 UTC 2021
Date: Wednesday, November 10, 2021 @ 21:23:20
Author: arojas
Revision: 1040420
archrelease: copy trunk to community-any
Added:
rapydscript-ng/repos/community-any/PKGBUILD
(from rev 1040419, rapydscript-ng/trunk/PKGBUILD)
Deleted:
rapydscript-ng/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-10 21:23:04 UTC (rev 1040419)
+++ PKGBUILD 2021-11-10 21:23:20 UTC (rev 1040420)
@@ -1,42 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=rapydscript-ng
-pkgver=0.7.21
-pkgrel=1
-pkgdesc="Pythonic JavaScript that doesn't suck"
-arch=('any')
-url="https://github.com/kovidgoyal/${pkgname}"
-license=('BSD')
-depends=('nodejs')
-makedepends=('git' 'npm')
-source=("git+${url}.git?signed#tag=v${pkgver}")
-sha256sums=('SKIP')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
-
-build() {
- cd "${srcdir}/${pkgname}"
-
- npm install --no-optional
- bin/rapydscript self --complete
- rm -rf release/ && mv dev/ release/
-}
-
-check() {
- cd "${srcdir}/${pkgname}"
-
- bin/rapydscript test
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
-
- mkdir -p "${pkgdir}"/usr/{bin,lib/node_modules/rapydscript-ng/}
- cp -r * "${pkgdir}"/usr/lib/node_modules/rapydscript-ng/
- # Non-deterministic race in npm gives 777 permissions to random directories.
- # See https://github.com/npm/npm/issues/9359 for details.
- find "${pkgdir}"/usr -type d -exec chmod 755 {} +
-
- ln -s ../lib/node_modules/rapydscript-ng/bin/rapydscript "${pkgdir}"/usr/bin/rapydscript
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: rapydscript-ng/repos/community-any/PKGBUILD (from rev 1040419, rapydscript-ng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-10 21:23:20 UTC (rev 1040420)
@@ -0,0 +1,42 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=rapydscript-ng
+pkgver=0.7.21
+pkgrel=2
+pkgdesc="Pythonic JavaScript that doesn't suck"
+arch=('any')
+url="https://github.com/kovidgoyal/${pkgname}"
+license=('BSD')
+depends=('nodejs')
+makedepends=('git' 'npm')
+source=("git+${url}.git?signed#tag=v${pkgver}")
+sha256sums=('SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
+
+build() {
+ cd ${pkgname}
+
+ npm install --no-optional
+ bin/rapydscript self --complete
+ rm -rf release/ && mv dev/ release/
+}
+
+check() {
+ cd ${pkgname}
+
+ bin/rapydscript test
+}
+
+package() {
+ cd ${pkgname}
+
+ mkdir -p "${pkgdir}"/usr/{bin,lib/node_modules/rapydscript-ng/}
+ cp -r * "${pkgdir}"/usr/lib/node_modules/rapydscript-ng/
+ # Non-deterministic race in npm gives 777 permissions to random directories.
+ # See https://github.com/npm/npm/issues/9359 for details.
+ find "${pkgdir}"/usr -type d -exec chmod 755 {} +
+
+ ln -s ../lib/node_modules/rapydscript-ng/bin/rapydscript "${pkgdir}"/usr/bin/rapydscript
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list