23 lines
601 B
Plaintext

# Description: Facilitating high-level interactions between Wasm modules and JavaScript
# URL: https://github.com/rustwasm/wasm-bindgen
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust-wasm
name=wasm-bindgen
version=0.2.93
release=1
source=(https://github.com/rustwasm/wasm-bindgen/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$version/crates/cli
export OPENSSL_NO_VENDOR=1
cargo build --release --all-features
find $SRC/$name-$version/target/release \
-maxdepth 1 \
-executable \
-type f \
-exec install -Dm0755 -t $PKG/usr/bin/ {} \;
}