blob: 99aa5b988fd60739edf20bb6f28ad6f9cc2c3e2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: mh4ckwascut <mh4ckt3mh4ckt1c4s@archlinux.org>
pkgname=wasm-tools
pkgver=1.226.0
pkgrel=1
pkgdesc="Low level tooling for WebAssembly in Rust"
arch=("x86_64")
url="https://github.com/bytecodealliance/wasm-tools"
license=("Apache-2.0")
depends=("glibc" "gcc-libs")
makedepends=("rust" "cargo")
source=("https://github.com/bytecodealliance/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('309be504ff75f3810208342036569aa73cd87a44be99157e0529364822b7c3f0')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
install -Dm755 "$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|