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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jan 21 20:46:24 UTC 2019


    Date: Monday, January 21, 2019 @ 20:46:24
  Author: svenstaro
Revision: 426764

upgpkg: emscripten 1.38.25-1

Modified:
  emscripten/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-21 20:17:55 UTC (rev 426763)
+++ PKGBUILD	2019-01-21 20:46:24 UTC (rev 426764)
@@ -4,7 +4,7 @@
 # Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
 
 pkgname=emscripten
-pkgver=1.38.24
+pkgver=1.38.25
 pkgrel=1
 pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
 arch=('x86_64')
@@ -13,22 +13,21 @@
 depends=('nodejs' 'python' 'python2')
 makedepends=('cmake' 'libxml2')
 optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon')
+            'ruby: for using websockify addon'
+            'cmake: for emcc --show-ports')
 install=$pkgname.install
 source=(emscripten-$pkgver.tar.gz::"https://github.com/kripken/emscripten/archive/$pkgver.tar.gz"
         emscripten-fastcomp-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp/archive/$pkgver.tar.gz"
         emscripten-fastcomp-clang-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp-clang/archive/$pkgver.tar.gz"
         "emscripten.sh")
-sha512sums=('e9f6542702c11a4e80b04a5c9f93dfb524b02a1c3617b7d897b9ada86f1b53344ac93529789785b73d8d9bda16c36d08f2673945291f1399701996a485eb2177'
-            '4d65a3647219e55c2129d2b6062d1c716071cfc223da7a1c60996951eb4675bb176be9a05395eba599edf0e531c44b64accf0a726d8a37a53e60362da27b4e58'
-            '16c5242863f83d36ccb2b3c812bc8b2a1d1a46378d747e2eaacc8d0a1919518f13a590998e01593d7cf859cab7e1e5e83a3ed3438834c5ed67e3308259ce1f8f'
+sha512sums=('6b9658454ecd7e2d30506f81f015b9188e2aaca7e85ede4644cca4e98caa9e011a3f84a80545313b6d500df788e40188e687ac66e27b3b31300e77027e56c59e'
+            'ae5d6d7c9acdeb5803983902aaf7abe4d46942ebfc9dc73c3297486ada78bbc32de0a93f3ff9f1f81a9e58a2c2dcda15925be0c36785916983b2490100b671a9'
+            '7bdd633a6956c6c58d4c0b0cedf119fb316547d9f87f08092509af5e2d06addb4bb2873d213d6dfc819b0fc3d83b71c7b684e6462d819d6c5db18666ec52c167'
             '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b')
 
 prepare() {
   cd emscripten-fastcomp-$pkgver
 
-  # reset folder for out-of-source build
-  rm -rf build
   mkdir build
 
   # put clang source into the right place (http://git.io/i1GBkg)
@@ -84,4 +83,9 @@
 
   # license
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # Get rid of some duplicated binaries (see FS#61487).
+  for link in ++ -6.0 -cl -cpp; do
+      ln -sf clang "$pkgdir"/usr/lib/emscripten-fastcomp/clang$link
+  done
 }



More information about the arch-commits mailing list