[arch-commits] Commit in rapydscript-ng/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 10 21:23:04 UTC 2021


    Date: Wednesday, November 10, 2021 @ 21:23:04
  Author: arojas
Revision: 1040419

Rebuild

Modified:
  rapydscript-ng/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 21:22:53 UTC (rev 1040418)
+++ PKGBUILD	2021-11-10 21:23:04 UTC (rev 1040419)
@@ -2,7 +2,7 @@
 
 pkgname=rapydscript-ng
 pkgver=0.7.21
-pkgrel=1
+pkgrel=2
 pkgdesc="Pythonic JavaScript that doesn't suck"
 arch=('any')
 url="https://github.com/kovidgoyal/${pkgname}"
@@ -14,7 +14,7 @@
 validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
 
 build() {
-    cd "${srcdir}/${pkgname}"
+    cd ${pkgname}
 
     npm install --no-optional
     bin/rapydscript self --complete
@@ -22,13 +22,13 @@
 }
 
 check() {
-    cd "${srcdir}/${pkgname}"
+    cd ${pkgname}
 
     bin/rapydscript test
 }
 
 package() {
-    cd "${srcdir}/${pkgname}"
+    cd ${pkgname}
 
     mkdir -p "${pkgdir}"/usr/{bin,lib/node_modules/rapydscript-ng/}
     cp -r * "${pkgdir}"/usr/lib/node_modules/rapydscript-ng/



More information about the arch-commits mailing list