[arch-commits] Commit in (wasmer wasmer/repos wasmer/trunk wasmer/trunk/PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Jun 18 09:59:56 UTC 2021
Date: Friday, June 18, 2021 @ 09:59:56
Author: svenstaro
Revision: 965147
Move wasmer from AUR
Added:
wasmer/
wasmer/repos/
wasmer/trunk/
wasmer/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: wasmer/trunk/PKGBUILD
===================================================================
--- wasmer/trunk/PKGBUILD (rev 0)
+++ wasmer/trunk/PKGBUILD 2021-06-18 09:59:56 UTC (rev 965147)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Julius Michaelis <gitter at liftm.de>
+
+pkgname=wasmer
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Universal Binaries Powered by WebAssembly"
+arch=('x86_64')
+url="https://github.com/wasmerio/wasmer"
+license=('MIT')
+depends=('gcc-libs' 'zlib' 'ncurses' 'libffi')
+makedepends=('rust' 'cmake' 'llvm')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/wasmerio/wasmer/archive/${pkgver}.tar.gz")
+sha512sums=('c02b97075212a496a4c30a9cfcd6b8ef89cb08bf3e5f9f20bf5f83c63bedb5744e4976ee3641310f6a44d911d670285c8b67c3cb9725acdd632ef5f8880ba4b9')
+options=('staticlibs')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export WASMER_INSTALL_PREFIX=/usr
+ export ENABLE_LLVM=1
+ make all
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ target/release/wasmer run tests/wasi-wast/wasi/snapshot1/hello.wasm
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ DESTDIR="$pkgdir"/usr make install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list