# Maintainer: Po-An, Yang (Antonio Yang) # Maintainer: tee < teeaur at duck dot com > pkgname='wasmedge' pkgver=0.13.5 pkgrel=1 pkgdesc='WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.' arch=('any') url='https://wasmedge.org' license=('Apache') depends=('cmake' 'boost' 'openssl' 'pkgconf' 'ninja' 'rapidjson') source=("https://github.com/WasmEdge/WasmEdge/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('588b8933a89f75c3ee5d4b92fe9d65294ae86fd48a95d2d4ac1a93ee3c5e1d75') package() { install -d "${pkgdir}/usr" cd "${srcdir}/WasmEdge-${pkgver}" cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_BUILD_TESTS=ON \ -DWASMEDGE_BUILD_AOT_RUNTIME=OFF -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr . cmake --build build cd "${srcdir}/WasmEdge-${pkgver}/build" ninja install }