[arch-commits] Commit in emscripten/repos (12 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Jun 21 19:03:56 UTC 2017


    Date: Wednesday, June 21, 2017 @ 19:03:54
  Author: svenstaro
Revision: 239360

archrelease: copy trunk to community-i686, community-x86_64

Added:
  emscripten/repos/community-i686/PKGBUILD
    (from rev 239359, emscripten/trunk/PKGBUILD)
  emscripten/repos/community-i686/emscripten.install
    (from rev 239359, emscripten/trunk/emscripten.install)
  emscripten/repos/community-i686/emscripten.sh
    (from rev 239359, emscripten/trunk/emscripten.sh)
  emscripten/repos/community-x86_64/PKGBUILD
    (from rev 239359, emscripten/trunk/PKGBUILD)
  emscripten/repos/community-x86_64/emscripten.install
    (from rev 239359, emscripten/trunk/emscripten.install)
  emscripten/repos/community-x86_64/emscripten.sh
    (from rev 239359, emscripten/trunk/emscripten.sh)
Deleted:
  emscripten/repos/community-i686/PKGBUILD
  emscripten/repos/community-i686/emscripten.install
  emscripten/repos/community-i686/emscripten.sh
  emscripten/repos/community-x86_64/PKGBUILD
  emscripten/repos/community-x86_64/emscripten.install
  emscripten/repos/community-x86_64/emscripten.sh

-------------------------------------+
 /PKGBUILD                           |  172 ++++++++++++++++++++++++++++++++++
 /emscripten.install                 |   22 ++++
 /emscripten.sh                      |   14 ++
 community-i686/PKGBUILD             |   86 -----------------
 community-i686/emscripten.install   |   11 --
 community-i686/emscripten.sh        |    7 -
 community-x86_64/PKGBUILD           |   86 -----------------
 community-x86_64/emscripten.install |   11 --
 community-x86_64/emscripten.sh      |    7 -
 9 files changed, 208 insertions(+), 208 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-i686/PKGBUILD	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,86 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
-
-pkgname=emscripten
-pkgver=1.37.13
-pkgrel=1
-pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
-arch=('i686' 'x86_64')
-url="http://emscripten.org"
-license=('custom')
-depends=('nodejs' 'python2')
-makedepends=('cmake' 'libxml2')
-optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon')
-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=('04176253f339d7420b9148bd7a05698c84cb311797c3cbf96e1bc1e2dfdcf7404bc9cf2678891876059ad915ca3c44115f46a538e1d44108c8623addc6ee1cfc'
-            '723ce5e610e72724ac9aa1deef618ee1d432b5a661171d182750b718b33c76f1342c400392d42c8bb0d9cbdb276e65116e4c554b25f31aa804fa95342ee709a6'
-            '8554636715a35ba5507ca32952a3f62ebcea1de0e51f08df9e76a4a7914e64190e014150e46e4179be3bab6df2d1fcccfa350c1ea7c12d01b9bbd161af0ac178'
-            '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)
-  rm -rf tools/clang
-  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
-
-  # python2 shebang fixes
-  cd ../emscripten-$pkgver
-  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
-
-  # adapt config file template to use our custom environment variable and path
-  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
-    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
-    -i tools/settings_template_readonly.py
-}
-
-build() {
-  cd emscripten-fastcomp-$pkgver/build
-
-  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_SKIP_RPATH=YES \
-    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
-    -DLLVM_BUILD_RUNTIME=OFF \
-    -DLLVM_INCLUDE_EXAMPLES=OFF \
-    -DLLVM_INCLUDE_TESTS=OFF \
-    -DCLANG_INCLUDE_TESTS=OFF
-  make
-}
-
-package() {
-  # exported variables
-  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
-
-  # LLVM-backend, TODO: include only needed tools
-  cd "$srcdir"/emscripten-fastcomp-$pkgver
-  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
-  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
-
-  # copy structure
-  cd "$srcdir"/emscripten-$pkgver
-  install -d "$pkgdir"/usr/lib/emscripten
-  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
-
-  # remove clutter
-  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
-  rm "$pkgdir"/usr/lib/emscripten/*.bat
-
-  # docs
-  install -d "$pkgdir"/usr/share/doc
-  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
-
-  # license
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: emscripten/repos/community-i686/PKGBUILD (from rev 239359, emscripten/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,86 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
+
+pkgname=emscripten
+pkgver=1.37.14
+pkgrel=1
+pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
+arch=('i686' 'x86_64')
+url="http://emscripten.org"
+license=('custom')
+depends=('nodejs' 'python2')
+makedepends=('cmake' 'libxml2')
+optdepends=('java-environment: for using clojure'
+            'ruby: for using websockify addon')
+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=('fa29445b4b2a6995307f60b58b1313dd27cc9fdf406e9760ced61cfcc85fc574ccba8c8a68bcb2ac318726b0323e873279df7c73e6063a6f17963f4d0c0d64f3'
+            'ea6fec5f26618e36d9db3855692a2302d766cd3e516ed4f2aa9cff73da1d3076196a96aeaf2458b898245beb28740def2ff2abc22bc1839642ad31d25e62cbff'
+            '89a0204a2957ff131e562a59ace442b6a8bef9a96253a84b9cde8fcf2851cc2cf672eb080918c5945439b3f7f00c14466acd03d39e9e0b3b57fe4d3eb52b17d2'
+            '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)
+  rm -rf tools/clang
+  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
+
+  # python2 shebang fixes
+  cd ../emscripten-$pkgver
+  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
+
+  # adapt config file template to use our custom environment variable and path
+  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
+    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
+    -i tools/settings_template_readonly.py
+}
+
+build() {
+  cd emscripten-fastcomp-$pkgver/build
+
+  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=YES \
+    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
+    -DLLVM_BUILD_RUNTIME=OFF \
+    -DLLVM_INCLUDE_EXAMPLES=OFF \
+    -DLLVM_INCLUDE_TESTS=OFF \
+    -DCLANG_INCLUDE_TESTS=OFF
+  make
+}
+
+package() {
+  # exported variables
+  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
+
+  # LLVM-backend, TODO: include only needed tools
+  cd "$srcdir"/emscripten-fastcomp-$pkgver
+  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
+  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
+
+  # copy structure
+  cd "$srcdir"/emscripten-$pkgver
+  install -d "$pkgdir"/usr/lib/emscripten
+  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
+
+  # remove clutter
+  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
+  rm "$pkgdir"/usr/lib/emscripten/*.bat
+
+  # docs
+  install -d "$pkgdir"/usr/share/doc
+  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
+
+  # license
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-i686/emscripten.install
===================================================================
--- community-i686/emscripten.install	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-i686/emscripten.install	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,11 +0,0 @@
-
-post_install() {
-  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
-  echo "=> already running shells to be able to use emscripten."
-}
-
-post_upgrade() {
-  echo "=> You may need to manually clear your emscripten cache as clang may not link"
-  echo "=> the new library versions with cached data properly. Use this command:"
-  echo "   $ emcc --clear-cache"
-}

Copied: emscripten/repos/community-i686/emscripten.install (from rev 239359, emscripten/trunk/emscripten.install)
===================================================================
--- community-i686/emscripten.install	                        (rev 0)
+++ community-i686/emscripten.install	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,11 @@
+
+post_install() {
+  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
+  echo "=> already running shells to be able to use emscripten."
+}
+
+post_upgrade() {
+  echo "=> You may need to manually clear your emscripten cache as clang may not link"
+  echo "=> the new library versions with cached data properly. Use this command:"
+  echo "   $ emcc --clear-cache"
+}

Deleted: community-i686/emscripten.sh
===================================================================
--- community-i686/emscripten.sh	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-i686/emscripten.sh	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-export EMSCRIPTEN="/usr/lib/emscripten"
-export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
-
-# add to path
-export PATH=$PATH:$EMSCRIPTEN

Copied: emscripten/repos/community-i686/emscripten.sh (from rev 239359, emscripten/trunk/emscripten.sh)
===================================================================
--- community-i686/emscripten.sh	                        (rev 0)
+++ community-i686/emscripten.sh	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export EMSCRIPTEN="/usr/lib/emscripten"
+export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
+
+# add to path
+export PATH=$PATH:$EMSCRIPTEN

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-x86_64/PKGBUILD	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,86 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
-
-pkgname=emscripten
-pkgver=1.37.13
-pkgrel=1
-pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
-arch=('i686' 'x86_64')
-url="http://emscripten.org"
-license=('custom')
-depends=('nodejs' 'python2')
-makedepends=('cmake' 'libxml2')
-optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon')
-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=('04176253f339d7420b9148bd7a05698c84cb311797c3cbf96e1bc1e2dfdcf7404bc9cf2678891876059ad915ca3c44115f46a538e1d44108c8623addc6ee1cfc'
-            '723ce5e610e72724ac9aa1deef618ee1d432b5a661171d182750b718b33c76f1342c400392d42c8bb0d9cbdb276e65116e4c554b25f31aa804fa95342ee709a6'
-            '8554636715a35ba5507ca32952a3f62ebcea1de0e51f08df9e76a4a7914e64190e014150e46e4179be3bab6df2d1fcccfa350c1ea7c12d01b9bbd161af0ac178'
-            '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)
-  rm -rf tools/clang
-  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
-
-  # python2 shebang fixes
-  cd ../emscripten-$pkgver
-  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
-
-  # adapt config file template to use our custom environment variable and path
-  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
-    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
-    -i tools/settings_template_readonly.py
-}
-
-build() {
-  cd emscripten-fastcomp-$pkgver/build
-
-  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_SKIP_RPATH=YES \
-    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
-    -DLLVM_BUILD_RUNTIME=OFF \
-    -DLLVM_INCLUDE_EXAMPLES=OFF \
-    -DLLVM_INCLUDE_TESTS=OFF \
-    -DCLANG_INCLUDE_TESTS=OFF
-  make
-}
-
-package() {
-  # exported variables
-  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
-
-  # LLVM-backend, TODO: include only needed tools
-  cd "$srcdir"/emscripten-fastcomp-$pkgver
-  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
-  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
-
-  # copy structure
-  cd "$srcdir"/emscripten-$pkgver
-  install -d "$pkgdir"/usr/lib/emscripten
-  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
-
-  # remove clutter
-  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
-  rm "$pkgdir"/usr/lib/emscripten/*.bat
-
-  # docs
-  install -d "$pkgdir"/usr/share/doc
-  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
-
-  # license
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: emscripten/repos/community-x86_64/PKGBUILD (from rev 239359, emscripten/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,86 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
+
+pkgname=emscripten
+pkgver=1.37.14
+pkgrel=1
+pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
+arch=('i686' 'x86_64')
+url="http://emscripten.org"
+license=('custom')
+depends=('nodejs' 'python2')
+makedepends=('cmake' 'libxml2')
+optdepends=('java-environment: for using clojure'
+            'ruby: for using websockify addon')
+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=('fa29445b4b2a6995307f60b58b1313dd27cc9fdf406e9760ced61cfcc85fc574ccba8c8a68bcb2ac318726b0323e873279df7c73e6063a6f17963f4d0c0d64f3'
+            'ea6fec5f26618e36d9db3855692a2302d766cd3e516ed4f2aa9cff73da1d3076196a96aeaf2458b898245beb28740def2ff2abc22bc1839642ad31d25e62cbff'
+            '89a0204a2957ff131e562a59ace442b6a8bef9a96253a84b9cde8fcf2851cc2cf672eb080918c5945439b3f7f00c14466acd03d39e9e0b3b57fe4d3eb52b17d2'
+            '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)
+  rm -rf tools/clang
+  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
+
+  # python2 shebang fixes
+  cd ../emscripten-$pkgver
+  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
+
+  # adapt config file template to use our custom environment variable and path
+  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
+    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
+    -i tools/settings_template_readonly.py
+}
+
+build() {
+  cd emscripten-fastcomp-$pkgver/build
+
+  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=YES \
+    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
+    -DLLVM_BUILD_RUNTIME=OFF \
+    -DLLVM_INCLUDE_EXAMPLES=OFF \
+    -DLLVM_INCLUDE_TESTS=OFF \
+    -DCLANG_INCLUDE_TESTS=OFF
+  make
+}
+
+package() {
+  # exported variables
+  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
+
+  # LLVM-backend, TODO: include only needed tools
+  cd "$srcdir"/emscripten-fastcomp-$pkgver
+  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
+  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
+
+  # copy structure
+  cd "$srcdir"/emscripten-$pkgver
+  install -d "$pkgdir"/usr/lib/emscripten
+  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
+
+  # remove clutter
+  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
+  rm "$pkgdir"/usr/lib/emscripten/*.bat
+
+  # docs
+  install -d "$pkgdir"/usr/share/doc
+  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
+
+  # license
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-x86_64/emscripten.install
===================================================================
--- community-x86_64/emscripten.install	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-x86_64/emscripten.install	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,11 +0,0 @@
-
-post_install() {
-  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
-  echo "=> already running shells to be able to use emscripten."
-}
-
-post_upgrade() {
-  echo "=> You may need to manually clear your emscripten cache as clang may not link"
-  echo "=> the new library versions with cached data properly. Use this command:"
-  echo "   $ emcc --clear-cache"
-}

Copied: emscripten/repos/community-x86_64/emscripten.install (from rev 239359, emscripten/trunk/emscripten.install)
===================================================================
--- community-x86_64/emscripten.install	                        (rev 0)
+++ community-x86_64/emscripten.install	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,11 @@
+
+post_install() {
+  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
+  echo "=> already running shells to be able to use emscripten."
+}
+
+post_upgrade() {
+  echo "=> You may need to manually clear your emscripten cache as clang may not link"
+  echo "=> the new library versions with cached data properly. Use this command:"
+  echo "   $ emcc --clear-cache"
+}

Deleted: community-x86_64/emscripten.sh
===================================================================
--- community-x86_64/emscripten.sh	2017-06-21 19:03:35 UTC (rev 239359)
+++ community-x86_64/emscripten.sh	2017-06-21 19:03:54 UTC (rev 239360)
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-export EMSCRIPTEN="/usr/lib/emscripten"
-export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
-
-# add to path
-export PATH=$PATH:$EMSCRIPTEN

Copied: emscripten/repos/community-x86_64/emscripten.sh (from rev 239359, emscripten/trunk/emscripten.sh)
===================================================================
--- community-x86_64/emscripten.sh	                        (rev 0)
+++ community-x86_64/emscripten.sh	2017-06-21 19:03:54 UTC (rev 239360)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export EMSCRIPTEN="/usr/lib/emscripten"
+export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
+
+# add to path
+export PATH=$PATH:$EMSCRIPTEN



More information about the arch-commits mailing list