diff options
author | Cody Schafer | 2020-05-18 19:36:08 -0400 |
---|---|---|
committer | Cody Schafer | 2020-05-18 19:36:08 -0400 |
commit | f0fc05b89e823c1aa4cca85df4304206a6456bbc (patch) | |
tree | 6467baec36b34c6cef3f4ea73c33b0dad2551337 | |
parent | fb6bd01778c9dd73363b514ace5e5938331acd3c (diff) | |
download | aur-f0fc05b89e823c1aa4cca85df4304206a6456bbc.tar.gz |
update for new go packaging
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,12 +2,12 @@ pkgname=grpcurl pkgver=1.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers" arch=(x86_64) url="https://github.com/fullstorydev/grpcurl" license=('MIT') -makedepends=('go-pie') +makedepends=('go') source=("$pkgname-$pkgver.tar.gz::https://github.com/fullstorydev/grpcurl/archive/v$pkgver.tar.gz") md5sums=('2be962886db190fd11b5f4492ac979d9') # really, `grpcurl-bin` should be conflicting with us instead of the oposite @@ -17,7 +17,11 @@ build() { cd "$pkgname-$pkgver" go build \ -trimpath \ + -mod=readonly \ + -modcacherw \ + -buildmode=pie \ -ldflags "-extldflags ${LDFLAGS}" \ + -o build \ ./cmd/grpcurl } |