[arch-commits] Commit in emscripten/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Feb 6 18:30:13 UTC 2021


    Date: Saturday, February 6, 2021 @ 18:30:13
  Author: svenstaro
Revision: 847006

upgpkg: emscripten 2.0.13-1: Upgrade package and fix permissions and dependencies

Modified:
  emscripten/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 18:30:08 UTC (rev 847005)
+++ PKGBUILD	2021-02-06 18:30:13 UTC (rev 847006)
@@ -5,18 +5,18 @@
 
 pkgname=emscripten
 # NOTE: You need to run ./get-compatible-versions.sh after changing the pkgver!
-_binaryen_revision=d7e9150e38f14c7ca083fe48bf1f49ab77cfc794
-_llvm_project_revision=52e240a0721e4120a7143f6f5bab4760d28d48e8
+_binaryen_revision=89b811699b2db0c0e2ad744a1240f6283f8eed86
+_llvm_project_revision=8d7cbcf582c5c7bc08a9de7f31fed63bf2687127
 # Sadly, upstream currently suggests bundling a binaryen version for the time being:
 # https://github.com/emscripten-core/emscripten/issues/12252
 # I'm obviously unhappy about that but it appears to be the only practical solution for the time being.
-pkgver=2.0.12
+pkgver=2.0.13
 pkgrel=1
 pkgdesc="Compile C and C++ into highly-optimizable JavaScript for the web"
 arch=('x86_64')
 url="https://emscripten.org"
 license=('custom')
-depends=('nodejs' 'python' 'which' 'acorn' 'nodejs')
+depends=('nodejs' 'python' 'which' 'acorn')
 makedepends=('cmake' 'libxml2' 'git' 'ninja' 'npm')
 optdepends=('java-environment: for using clojure'
             'ruby: for using websockify addon'
@@ -95,6 +95,11 @@
   # Install emscripten
   cd "$srcdir"/emscripten
   DESTDIR="$pkgdir"/usr/lib/emscripten make install
+
+  # Fix permissions messed up by npm
+  find "${pkgdir}"/usr/lib/emscripten -type d -exec chmod 755 {} +
+  chown -R root:root "${pkgdir}"/usr/lib/emscripten/
+
   install -Dm644 "$srcdir"/emscripten-config "$pkgdir"/usr/lib/emscripten/.emscripten
 
   install -d "$pkgdir"/usr/share/doc



More information about the arch-commits mailing list