[arch-commits] Commit in rapydscript-ng/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu Feb 4 02:25:10 UTC 2021
Date: Thursday, February 4, 2021 @ 02:25:09
Author: eschwartz
Revision: 844149
archrelease: copy trunk to community-any
Added:
rapydscript-ng/repos/community-any/PKGBUILD
(from rev 844148, rapydscript-ng/trunk/PKGBUILD)
Deleted:
rapydscript-ng/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-04 02:24:43 UTC (rev 844148)
+++ PKGBUILD 2021-02-04 02:25:09 UTC (rev 844149)
@@ -1,42 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=rapydscript-ng
-pkgver=0.7.20
-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 844148, rapydscript-ng/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-04 02:25:09 UTC (rev 844149)
@@ -0,0 +1,42 @@
+# 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"
+}
More information about the arch-commits
mailing list