diff --git a/extra/js102/PKGBUILD b/extra/js102/PKGBUILD new file mode 100644 index 000000000..f84534430 --- /dev/null +++ b/extra/js102/PKGBUILD @@ -0,0 +1,131 @@ +# Maintainer: Jan Alexander Steffens (heftig) + +# ALARM: Kevin Mihelich +# - configure with --disable-lto, --disable-rust-simd + +pkgname=js102 +pkgver=102.4.0 +pkgrel=1 +pkgdesc="JavaScript interpreter and libraries - Version 102" +arch=(x86_64) +url="https://spidermonkey.dev/" +license=(MPL) +depends=(gcc-libs readline zlib sh) +makedepends=(zip autoconf2.13 python-setuptools python-psutil rust llvm clang lld) +checkdepends=(mercurial git) +options=(!lto debug) +_relver=${pkgver}esr +source=(https://archive.mozilla.org/pub/firefox/releases/$_relver/source/firefox-$_relver.source.tar.xz{,.asc}) +sha256sums=('e79f0ddd4914dfbff61c5eea7ff28ad2dd12ecfbf3d63a41dab57d50171d904e' + 'SKIP') +validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases + +# Make sure the duplication between bin and lib is found +COMPRESSZST+=(--long) + +prepare() { + mkdir mozbuild + cd firefox-$pkgver + + cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <