diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = webwormhole-git pkgdesc = WebWormhole creates ephemeral pipes between computers to send files or other data. pkgver = r195.1c8919c - pkgrel = 2 + pkgrel = 3 url = https://github.com/saljam/webwormhole arch = x86_64 license = BSD @@ -3,7 +3,7 @@ pkgname=webwormhole-git _pkgname=${pkgname%-git} pkgver=r195.1c8919c -pkgrel=2 +pkgrel=3 pkgdesc='WebWormhole creates ephemeral pipes between computers to send files or other data.' arch=('x86_64') url="https://github.com/saljam/${_pkgname}" @@ -33,6 +33,7 @@ build() { export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-trimpath -mod=readonly -modcacherw" GOOS=js GOARCH=wasm go build -o ./web/webwormhole.wasm ./web + cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./web/wasm_exec.js export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" GO111MODULE=on go build ./cmd/ww } |