# Contributor: Ian Douglas Scott # Maintainer: Ian Douglas Scott pkgname=wabt pkgver=1.0.11 pkgrel=0 pkgdesc="WebAssembly binary toolkit" arch="all" url="https://github.com/WebAssembly/wabt" license="Apache-2.0" makedepends="cmake" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" # Tests require vendored dependencies (as git submodules). Should be modified # to use copies from repository. options="!check" build() { mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=OFF \ .. make } package() { cd build make DESTDIR="$pkgdir" install } sha512sums="e0cd1afb914cb0115090ef935de68f16dccc7f8c0dd62ace519a5e00a44ad7167db33ee6902da378c125e94d31c3530bec9943e4f8098d2df6a3a4290d425833 wabt-1.0.11.tar.gz"