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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jun 23 07:26:24 UTC 2019


    Date: Sunday, June 23, 2019 @ 07:26:24
  Author: svenstaro
Revision: 483025

upgpkg: emscripten 1.38.36-5

Put all of LLVM into the package

Modified:
  emscripten/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-23 07:13:22 UTC (rev 483024)
+++ PKGBUILD	2019-06-23 07:26:24 UTC (rev 483025)
@@ -5,7 +5,7 @@
 
 pkgname=emscripten
 pkgver=1.38.36
-pkgrel=4
+pkgrel=5
 pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
 arch=('x86_64')
 url="http://emscripten.org"
@@ -54,9 +54,8 @@
 
 package() {
   # Install LLVM stuff according to https://github.com/emscripten-core/emscripten/blob/incoming/docs/process.md
-  for bin in clang clang++ wasm-ld llvm-nm llvm-ar llvm-as llvm-dis llvm-dwarfdump; do
-      install -Dm755 "$srcdir"/llvm-project/llvm/build/bin/$bin "$pkgdir"/usr/lib/emscripten-llvm/$bin
-  done
+  install -d "$pkgdir"/usr/lib
+  cp -r "$srcdir"/llvm-project/llvm/build/bin "$pkgdir"/usr/lib/emscripten-llvm
 
   # Install emscripten
   cd "$srcdir"/emscripten-$pkgver


More information about the arch-commits mailing list