diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,17 +1,17 @@ # Maintainer: Buf <bot@buf.build> # Contributor: Alexander Menzhinsky <amenzhinsky@gmail.com> pkgname=buf -pkgver=1.5.0 +pkgver=1.6.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.5.0.tar.gz") +source=("https://github.com/bufbuild/buf/archive/v1.6.0.tar.gz") build() { - cd ${pkgname}-1.5.0 + cd ${pkgname}-1.6.0 go build -trimpath -buildmode=pie -mod=readonly -modcacherw -o . ./cmd/{buf,protoc-gen-buf-lint,protoc-gen-buf-breaking} ./buf completion bash >completion.bash ./buf completion zsh >completion.zsh @@ -21,13 +21,13 @@ build() { } package() { - install -Dm755 "${pkgname}-1.5.0/buf" "${pkgdir}/usr/bin/buf" - install -Dm755 "${pkgname}-1.5.0/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" - install -Dm755 "${pkgname}-1.5.0/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" - install -Dm644 "${pkgname}-1.5.0/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" - install -Dm644 "${pkgname}-1.5.0/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" - install -Dm644 "${pkgname}-1.5.0/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" - install -Dm644 "${pkgname}-1.5.0/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" + install -Dm755 "${pkgname}-1.6.0/buf" "${pkgdir}/usr/bin/buf" + install -Dm755 "${pkgname}-1.6.0/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" + install -Dm755 "${pkgname}-1.6.0/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" + install -Dm644 "${pkgname}-1.6.0/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" + install -Dm644 "${pkgname}-1.6.0/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" + install -Dm644 "${pkgname}-1.6.0/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" + install -Dm644 "${pkgname}-1.6.0/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" } -sha256sums=('c2fb212fe6aa61e5d015dcbf092a75bdb0874fdef90f8b25dfa49de234523383') +sha256sums=('6743b383ea2833723f7dc3b5f85667dab25bec3990769e980436e09b0c2553c0') |