wasm-pack: initial commit, version 0.13.0

This commit is contained in:
Tim Biermann 2024-07-12 10:57:55 +02:00
parent 4e59c85173
commit eb9535ec81
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 26 additions and 0 deletions

3
wasm-pack/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wasm-pack

5
wasm-pack/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36nFQoCHXaWmwXs7EKdJfpeDMkz2n92jkzFXMYrjJb9R9f98vPVud8yga1ku/edvFnk77heYlTy6adnmp6/tvw8=
SHA256 (Pkgfile) = d6efebf30f975eef439fc80069c0af036486d694e7666ae6229f62dec8f0c1a3
SHA256 (.footprint) = f2b9234a02a9698b9c680005544c4e6cedbe99fa6eff3ec7257d2e480555c390
SHA256 (wasm-pack-0.13.0.tar.gz) = d9eeb1116a584afc50ccb7c4ca15e0256453d4d2b4bc437b83f312b78432fdab

18
wasm-pack/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: Your favorite rust -> wasm workflow tool!
# URL: https://github.com/rustwasm/wasm-pack
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=wasm-pack
version=0.13.0
release=1
source=(https://github.com/rustwasm/wasm-pack/archive/v$version/$name-$version.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
cargo build --release --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}