diff options
author | Julien BONACHERA | 2020-10-11 11:25:21 +0200 |
---|---|---|
committer | Julien BONACHERA | 2020-10-11 11:25:21 +0200 |
commit | fe5e58e0207d776273aea2f954b72539e3a77d0d (patch) | |
tree | b9b30b76e1f03395f67612c2b09f31f0c209a2d1 | |
parent | 715236765d0de4bbd80579db7a37127a66f7da58 (diff) | |
download | aur-fe5e58e0207d776273aea2f954b72539e3a77d0d.tar.gz |
update to version 2.0.2
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -1,13 +1,13 @@ pkgbase = wasp pkgdesc = Distributed MQTT Broker, written in go. - pkgver = 2.0.1 + pkgver = 2.0.2 pkgrel = 1 url = https://github.com/vx-labs/wasp/ arch = x86_64 license = GPL makedepends = go - source = https://github.com/vx-labs/wasp//archive/v2.0.1.tar.gz - sha256sums = 51e4e3d36671ce3f7febe47f9224ad726c2337081012ee167799814390f0280c + source = https://github.com/vx-labs/wasp//archive/v2.0.2.tar.gz + sha256sums = e4a936d4721a4649a24bdc9e2910b9699bb44ba7d6f3849768bb06f85c30ce5c pkgname = wasp @@ -1,5 +1,5 @@ pkgname=wasp -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 pkgdesc='Distributed MQTT Broker, written in go.' arch=('x86_64') @@ -7,7 +7,7 @@ url="https://github.com/vx-labs/wasp/" license=('GPL') makedepends=('go') source=("${url}/archive/v${pkgver}.tar.gz") -sha256sums=('51e4e3d36671ce3f7febe47f9224ad726c2337081012ee167799814390f0280c') +sha256sums=('e4a936d4721a4649a24bdc9e2910b9699bb44ba7d6f3849768bb06f85c30ce5c') prepare(){ cd "$pkgname-$pkgver" @@ -21,7 +21,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - go build -o build ./cmd/... + go build -o build -ldflags="-s -w -X main.BuiltVersion=v$pkgver" ./cmd/... } check() { |