diff options
author | Cody Schafer | 2021-04-14 15:25:52 -0400 |
---|---|---|
committer | Cody Schafer | 2021-04-14 16:10:57 -0400 |
commit | 434149df2258f471720a5da4059c212f9f587b6d (patch) | |
tree | a7563f34bfc47166000d8625dd3a49555e5e9218 /PKGBUILD | |
parent | 76aa08201e72149962349565aad669a68207fe71 (diff) | |
download | aur-434149df2258f471720a5da4059c212f9f587b6d.tar.gz |
support proto3 reflection
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -2,17 +2,26 @@ pkgname=grpcurl pkgver=1.8.0 -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') -source=("$pkgname-$pkgver.tar.gz::https://github.com/fullstorydev/grpcurl/archive/v$pkgver.tar.gz") -md5sums=('6b8efb66f4281e3a09221dfa5d9b2fc3') +makedepends=('go' 'git') +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/fullstorydev/grpcurl/archive/v$pkgver.tar.gz" + file://0001-use-latest-version-of-protoreflect-212.patch +) +md5sums=('6b8efb66f4281e3a09221dfa5d9b2fc3' + '8b6c6b82b43bb22145ffc746e747e6b7') # really, `grpcurl-bin` should be conflicting with us instead of the oposite conflicts=('grpcurl-bin') +prepare() { + cd "$pkgname-$pkgver" + patch -Np1 -i "../0001-use-latest-version-of-protoreflect-212.patch" +} + build() { cd "$pkgname-$pkgver" export CGO_CPPFLAGS="${CPPFLAGS}" |