Package Details: quickjs 2025.09.13-1

Git Clone URL: https://aur.archlinux.org/quickjs.git (read-only, click to copy)
Package Base: quickjs
Description: Small and embeddable JavaScript engine
Upstream URL: https://bellard.org/quickjs
Keywords: engine javascript
Licenses: MIT
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 15
Popularity: 0.023550
First Submitted: 2019-07-11 22:29 (UTC)
Last Updated: 2026-01-27 23:40 (UTC)

Latest Comments

1 2 Next › Last »

aperez commented on 2026-01-27 23:40 (UTC)

@darkfm: Nice, that worked, thanks for the help! And sorry that I didn't have the time or motivation to figure this one out by myself. The update to 2025.09.13 has now been pushed =)

darkfm commented on 2026-01-27 18:25 (UTC)

A small change is required to compile the latest version of quickjs because the makefile has changed a little and for some reason a test file is missing:

--- PKGBUILD    2025-05-16 10:16:20.000000000 -0300
+++ PKGBUILD.new    2026-01-27 15:23:24.237509937 -0300
@@ -1,31 +1,36 @@
 # Maintainer: Adrian Perez de Castro <aperez@igalia.com>
 pkgdesc='Small and embeddable JavaScript engine'
 pkgname=quickjs
-pkgver=2025.04.26
+pkgver=2025.09.13
 pkgrel=1
 url=https://bellard.org/quickjs
 depends=(glibc)
 arch=(x86_64)
 options=(!strip)
 license=(MIT)
 _pv="${pkgname}-${pkgver//./-}"
-source=("${url}/${_pv}.tar.xz")
-sha512sums=('7b9e4316c470f1163abed038ba2919e9367f026f8af8afb07ec07ac98409083c45373126764b526a78651a83e7896d6d05456e60dec46e451315bbeb336da23e')
+source=("${url}/${_pv}.tar.xz"
+   'https://github.com/bellard/quickjs/raw/f1139494d18a2053630c5ed3384a42bb70db3c53/examples/message.json')
+sha512sums=('077acba8b318b19cd2660fae0ca03099185b688dba46c89a6456b455639813eefc282975cd1eebdb3c49f62217b9506c6abad86d777b08cb49fe234beef918a2'
+       'c3c85602326a50c127b8497876205a4984c9f7a40696e76912943d9c5fd7358d0976a0c8942bfa8b6f45fa7728ca663e072f26b0be94efefe75f224757c7e865')

 prepare () {
    cat >> "${_pv}/Makefile" <<-EOF
    CFLAGS += ${CFLAGS}
    LDFLAGS += ${LDFLAGS}
    EOF
+   cp message.json "${_pv}/examples/"
 }

 build () {
-   make -C "${_pv}" PREFIX=/usr
+        cd "${_pv}"
+   make PREFIX=/usr
 }

 package () {
-   make -C "${_pv}" PREFIX=/usr DESTDIR="${pkgdir}" install
-
+        cd "${_pv}"
+   make PREFIX=/usr DESTDIR="${pkgdir}" install
+   cd ..
    install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${_pv}"/doc/*.*

    # Fixup permissions

FabioLolix commented on 2024-02-07 10:56 (UTC)

Curl is a pacman depends so it will be always installed

rocka commented on 2024-02-07 10:06 (UTC)

I suggest add curl as optional dependency, since urlGet function in quickjs is implemented by calling curl command line.

https://github.com/bellard/quickjs/blob/6f480abbc8b2abe91fcc0fa58aa07c367e1dcb36/quickjs-libc.c#L1284

somebody commented on 2021-03-27 12:23 (UTC)

updated recently, any chance we could get an update?

aperez commented on 2020-03-22 21:15 (UTC)

@drl Updated, thanks for the heads up!

drl commented on 2020-03-22 02:56 (UTC)

The 2020-03-16 version has been released. Any plans to upgrade to the new one?

aperez commented on 2019-11-23 17:47 (UTC)

@danielmazurkiewi Package updated, and also I added back the gcc-libs dependency, which Namcap reported as missing.

danielmazurkiewi commented on 2019-11-15 06:11 (UTC)

Any plans to bump to a newer version?

aperez commented on 2019-09-25 10:38 (UTC)

@SpaceToast: Thanks for the heads up, I've updated the PKGBUILD accordingly =)