pkgname: js140 pkgver: '140.14.0' pkgrel: '1' pkgdesc: JavaScript interpreter and libraries - Version 140 url: 'https://spidermonkey.dev/' arch: x86_64 depends: [] makedepends: - autoconf2-13 - readline - llvm - icu - rustc - libffi - python - zlib - zip - cbindgen source: - python-3.14.patch - js-config.patch - rustc-195.patch - 'https://archive.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox-${pkgver}esr.source.tar.xz' sha256sums: - SKIP - SKIP - SKIP - 28006bd454e703932e1ea804918165774a1e21478b18e551cd1b38111d664239 build: | cd firefox-${pkgver} patch -Np1 -i ../python-3.14.patch patch -Np1 -i ../js-config.patch # patch -Np1 -i ../rustc-195.patch mkdir obj cd obj sh ../../firefox-${pkgver}/js/src/configure \ --prefix=/usr \ --with-intl-api \ --with-system-zlib \ --with-system-icu \ --disable-jemalloc \ --disable-debug-symbols \ --enable-readline \ --enable-rust-simd SHELL=/bin/sh make SHELL=/bin/sh make DESTDIR=${PKGDIR} install # conflict with js60 rm ${PKGDIR}/usr/lib/libjs_static.ajs sed -i '/@NSPR_CFLAGS@/d' ${PKGDIR}/usr/bin/js140-config package: | true