diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |