diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-19 10:45:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-19 11:24:03 +0000 |
commit | 5a0d95421e4c1a41f7509e2007645ee92456250c (patch) | |
tree | 40be95eeb40ab2fc7ecba51579c8b998dda8f6cb /testing/mozjs60 | |
parent | 65658725d5187e11fee6c2f2fcc68c8aa62e7853 (diff) | |
download | aports-5a0d95421e4c1a41f7509e2007645ee92456250c.tar.bz2 aports-5a0d95421e4c1a41f7509e2007645ee92456250c.tar.xz |
testing/mozjs60: fix install locations for headers
Diffstat (limited to 'testing/mozjs60')
-rw-r--r-- | testing/mozjs60/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/testing/mozjs60/APKBUILD b/testing/mozjs60/APKBUILD index c9977ba60c..d5f6fbaead 100644 --- a/testing/mozjs60/APKBUILD +++ b/testing/mozjs60/APKBUILD @@ -1,14 +1,15 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=mozjs60 pkgver=60.0.2 -pkgrel=0 +_majver=${pkgver%%.*} +pkgrel=1 pkgdesc="standalone mozilla javascript engine" url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/38" arch="all !armhf !armv7" license="LGPL" depends="" depends_dev="icu-dev nspr-dev libffi-dev readline-dev" -makedepends="$depends_dev python2 perl sed autoconf2.13 linux-headers" +makedepends="$depends_dev zlib-dev python2 perl sed autoconf2.13 linux-headers" subpackages="$pkgname-dev" source="https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox-${pkgver}esr.source.tar.xz 0001-silence-sandbox-violations.patch @@ -49,6 +50,14 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/*.ajs + + # temp fix for mozjs60 not installing headers into the right place + mkdir -p "$pkgdir"/usr/include/mozjs-$_majver + mv "$pkgdir"/usr/include/double-conversion \ + "$pkgdir"/usr/include/js \ + "$pkgdir"/usr/include/mozilla \ + "$pkgdir"/usr/include/*.h \ + "$pkgdir"/usr/include/mozjs-$_majver/ } sha512sums="c147517e37ecb6340dab29f4bcbaeb18450eda0fbd2bdfda1ab0c160de9ad33572113866c1ed4feba6a77bec432a2e02fb5cbcceb73e4a45ceef308f04d2b836 firefox-60.0.2esr.source.tar.xz |