diff options
author | Luis Martinez | 2023-01-21 18:18:52 -0600 |
---|---|---|
committer | Luis Martinez | 2023-01-21 18:18:52 -0600 |
commit | 749f9b04721857e3ab07263996f7563adbea4599 (patch) | |
tree | ac57033647482524f6c7f7214843f7ed0dc83d29 | |
parent | 7be72026e7957d3c7fa4f5eca70435de00eff853 (diff) | |
download | aur-749f9b04721857e3ab07263996f7563adbea4599.tar.gz |
add static lib and headers
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = wasm-micro-runtime pkgdesc = Standalone WebAssembly (WASM) runtime with small footprint pkgver = 1.1.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/bytecodealliance/wasm-micro-runtime changelog = RELEASE_NOTES.md arch = x86_64 @@ -3,7 +3,7 @@ pkgname=wasm-micro-runtime pkgver=1.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Standalone WebAssembly (WASM) runtime with small footprint" arch=('x86_64') url="https://github.com/bytecodealliance/wasm-micro-runtime" @@ -22,9 +22,17 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -Wno-dev + cmake \ + -B build-lib \ + -S "$pkgname-WAMR-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev cmake --build build + cmake --build build-lib } package() { DESTDIR="${pkgdir}" cmake --install build + DESTDIR="${pkgdir}" cmake --install build-lib } |