[arch-commits] Commit in wabt/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Dec 24 10:38:43 UTC 2021


    Date: Friday, December 24, 2021 @ 10:38:43
  Author: jelle
Revision: 1083381

archrelease: copy trunk to community-x86_64

Added:
  wabt/repos/community-x86_64/PKGBUILD
    (from rev 1083380, wabt/trunk/PKGBUILD)
Deleted:
  wabt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-24 10:38:38 UTC (rev 1083380)
+++ PKGBUILD	2021-12-24 10:38:43 UTC (rev 1083381)
@@ -1,53 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor:  Konstantin Gorodinskii <mail at konstantin.io>
-
-pkgname=wabt
-pkgdesc="The WebAssembly Binary Toolkit is a suite of tools for WebAssembly"
-url="https://github.com/WebAssembly/wabt"
-pkgver=1.0.24
-pkgrel=1
-arch=('x86_64')
-license=('APACHE')
-depends=(glibc gcc-libs)
-makedepends=('cmake' 'git' 'gcc' 'clang' 'python-ply' 'gtest')
-source=("git+https://github.com/WebAssembly/wabt#commit=aa0515b3c808da880942db8658abeaa969534667?signed"
-        "git+https://github.com/WebAssembly/testsuite"
-        "git+https://github.com/google/googletest"
-        "git+https://github.com/dabeaz/ply")
-validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23')
-md5sums=('SKIP'
-         'SKIP'
-         'SKIP'
-         'SKIP')
-
-prepare() {
-  cd ${pkgname}
-
-  git submodule init
-  git config submodule."external/testsuite".url "${srcdir}/testsuite"
-  git config submodule."external/googletest".url "${srcdir}/googletest"
-  git config submodule."external/ply".url "${srcdir}/ply"
-  git submodule update --recursive
-
-  mkdir build
-}
-
-build() {
-  cd ${pkgname}/build
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-
-  make
-}
-
-check() {
-  cd ${pkgname}
-#  make test
-}
-
-package() {
-  cd ${pkgname}/build
-  make DESTDIR="${pkgdir}" install
-}

Copied: wabt/repos/community-x86_64/PKGBUILD (from rev 1083380, wabt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-24 10:38:43 UTC (rev 1083381)
@@ -0,0 +1,54 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor:  Konstantin Gorodinskii <mail at konstantin.io>
+
+pkgname=wabt
+pkgdesc="The WebAssembly Binary Toolkit is a suite of tools for WebAssembly"
+url="https://github.com/WebAssembly/wabt"
+pkgver=1.0.24
+pkgrel=2
+arch=('x86_64')
+license=('APACHE')
+depends=(glibc gcc-libs)
+makedepends=('cmake' 'git' 'gcc' 'clang' 'python-ply' 'gtest')
+source=("git+https://github.com/WebAssembly/wabt#commit=aa0515b3c808da880942db8658abeaa969534667?signed"
+        "git+https://github.com/WebAssembly/testsuite"
+        "git+https://github.com/google/googletest"
+        "git+https://github.com/dabeaz/ply")
+validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23')
+md5sums=('SKIP'
+         'SKIP'
+         'SKIP'
+         'SKIP')
+
+prepare() {
+  cd ${pkgname}
+
+  git submodule init
+  git config submodule."external/testsuite".url "${srcdir}/testsuite"
+  git config submodule."external/googletest".url "${srcdir}/googletest"
+  git config submodule."external/ply".url "${srcdir}/ply"
+  git submodule update --recursive
+
+  mkdir build
+}
+
+build() {
+  cd ${pkgname}/build
+  export CFLAGS+=" -ffat-lto-objects"
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+
+  make
+}
+
+check() {
+  cd ${pkgname}
+#  make test
+}
+
+package() {
+  cd ${pkgname}/build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list