# Template file for 'quickjs' pkgname=quickjs version=2025.09.13.2 revision=1 build_style=gnu-makefile make_use_env=true make_build_args="CONFIG_LTO=" short_desc="Small and embeddable Javascript engine" maintainer="Leah Neukirchen " license="MIT" homepage="https://bellard.org/quickjs/" distfiles="https://bellard.org/quickjs/quickjs-${version//./-}.tar.xz" checksum=996c6b5018fc955ad4d06426d0e9cb713685a00c825aa5c0418bd53f7df8b0b4 if [ "$CROSS_BUILD" ]; then make_build_args+=" CROSS_PREFIX=${XBPS_CROSS_TRIPLET}-" fi make_install_args="${make_build_args}" pre_configure() { vsed -i -e 's|%s/lib/quickjs|%s/lib|' qjsc.c cat >>Makefile <