diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,18 +1,18 @@ # Maintainer: Buf <bot@buf.build> # Contributor: Alexander Menzhinsky <amenzhinsky@gmail.com> pkgname=buf -pkgver=1.8.0 +pkgver=1.9.0 pkgrel=1 pkgdesc="A new way of working with Protocol Buffers" arch=("any") url="https://buf.build" license=('Apache') makedepends=('go') -source=("https://github.com/bufbuild/buf/archive/v1.8.0.tar.gz") +source=("https://github.com/bufbuild/buf/archive/v1.9.0.tar.gz") build() { - cd ${pkgname}-1.8.0 - go build -trimpath -buildmode=pie -mod=readonly -modcacherw -o . ./cmd/{buf,protoc-gen-buf-lint,protoc-gen-buf-breaking} + cd ${pkgname}-1.9.0 + go build -trimpath -buildmode=pie -mod=readonly -modcacherw -buildvcs=false -o . ./cmd/{buf,protoc-gen-buf-lint,protoc-gen-buf-breaking} ./buf completion bash >completion.bash ./buf completion zsh >completion.zsh ./buf completion fish >completion.fish @@ -21,13 +21,13 @@ build() { } package() { - install -Dm755 "${pkgname}-1.8.0/buf" "${pkgdir}/usr/bin/buf" - install -Dm755 "${pkgname}-1.8.0/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" - install -Dm755 "${pkgname}-1.8.0/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" - install -Dm644 "${pkgname}-1.8.0/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" - install -Dm644 "${pkgname}-1.8.0/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" - install -Dm644 "${pkgname}-1.8.0/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" - install -Dm644 "${pkgname}-1.8.0/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" + install -Dm755 "${pkgname}-1.9.0/buf" "${pkgdir}/usr/bin/buf" + install -Dm755 "${pkgname}-1.9.0/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" + install -Dm755 "${pkgname}-1.9.0/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" + install -Dm644 "${pkgname}-1.9.0/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" + install -Dm644 "${pkgname}-1.9.0/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" + install -Dm644 "${pkgname}-1.9.0/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" + install -Dm644 "${pkgname}-1.9.0/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" } -sha256sums=('8103cfbe8f4b14fe9bf39f1c2b2676f87e80771d41de51358b4ac33488a7da81') +sha256sums=('d80360b347d799beffbc98aa528d18bf6e6c6ac38a0222a51c028d816db30d20') |