extra/js60 to 60.6.3-1

This commit is contained in:
Kevin Mihelich 2019-05-09 18:07:46 +00:00
parent d1bde1f2fd
commit 77d4fb9f4e

View file

@ -5,7 +5,7 @@
# - remove --enable-linker=gold
pkgname=js60
pkgver=60.6.1
pkgver=60.6.3
pkgrel=1
_ffver=${pkgver%%.*}
pkgdesc="JavaScript interpreter and libraries - Version $_ffver"
@ -14,18 +14,18 @@ url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
license=(MPL)
depends=(gcc-libs readline zlib sh)
makedepends=(python2 zip autoconf2.13 mercurial)
_repo=https://hg.mozilla.org/mozilla-unified
source=("https://hg.mozilla.org/mozilla-unified/archive/FIREFOX_${pkgver//./_}esr_RELEASE.tar.gz"
_repo=https://hg.mozilla.org/releases/mozilla-esr60
source=("https://hg.mozilla.org/releases/mozilla-esr60/archive/FIREFOX_${pkgver//./_}esr_RELEASE.tar.gz"
bug1415202.patch
mozjs60-fix-soname.patch
mozjs52-include-configure-script.patch)
sha256sums=('8acd1a4b9c42bad117ff5725896d926fdfdefa74427d32c7b96545ee87249b4c'
sha256sums=('2fba995da3eb913eb76a4984803d0b00132a3fb402dbe2193d15f472c07ef023'
'0b410aa6ebd0236cd3ea524340c2da2235973a42cd0eaa90f7f394cd5bcbab95'
'c792837930defe27355941080e9b80ec1d45003c097e4707860acc13d43bc519'
'd91a89acd88bfc747a255050757a0c17139bf5c3508c2e1c3c6bb2056786a344')
prepare() {
cd mozilla-unified-FIREFOX_${pkgver//./_}esr_RELEASE
cd mozilla-esr60-FIREFOX_${pkgver//./_}esr_RELEASE
mkdir obj
# https://bugzilla.mozilla.org/show_bug.cgi?id=1479687
@ -55,7 +55,7 @@ build() {
--without-system-icu
)
cd mozilla-unified-FIREFOX_${pkgver//./_}esr_RELEASE/obj
cd mozilla-esr60-FIREFOX_${pkgver//./_}esr_RELEASE/obj
export PYTHON=/usr/bin/python2
@ -74,7 +74,7 @@ check() {
basic
)
cd mozilla-unified-FIREFOX_${pkgver//./_}esr_RELEASE/obj
cd mozilla-esr60-FIREFOX_${pkgver//./_}esr_RELEASE/obj
make -C js/src check-jstests check-jit-test \
JSTESTS_EXTRA_ARGS="${jstests_extra_args[*]}" \
JITTEST_EXTRA_ARGS="${jittest_extra_args[*]}" \
@ -82,7 +82,7 @@ check() {
}
package() {
cd mozilla-unified-FIREFOX_${pkgver//./_}esr_RELEASE/obj
cd mozilla-esr60-FIREFOX_${pkgver//./_}esr_RELEASE/obj
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.ajs
find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -c a-x {} +