diff options
author | Doria Keung | 2022-03-25 17:22:26 -0400 |
---|---|---|
committer | Doria Keung | 2022-03-25 17:22:26 -0400 |
commit | 9146f4b0226b7172039938ebb23b33f794e81b1f (patch) | |
tree | 7fafcf3f5d36e646d02fd032e2511aa5bc23467a /PKGBUILD | |
parent | 97edba2e7842c428ef0fb9716733c35b5c8dfd22 (diff) | |
download | aur-9146f4b0226b7172039938ebb23b33f794e81b1f.tar.gz |
Update to v1.3.0
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.2.1 +pkgver=1.3.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.2.1.tar.gz") +source=("https://github.com/bufbuild/buf/archive/v1.3.0.tar.gz") build() { - cd ${pkgname}-1.2.1 + cd ${pkgname}-1.3.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.2.1/buf" "${pkgdir}/usr/bin/buf" - install -Dm755 "${pkgname}-1.2.1/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" - install -Dm755 "${pkgname}-1.2.1/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" - install -Dm644 "${pkgname}-1.2.1/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" - install -Dm644 "${pkgname}-1.2.1/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" - install -Dm644 "${pkgname}-1.2.1/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" - install -Dm644 "${pkgname}-1.2.1/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" + install -Dm755 "${pkgname}-1.3.0/buf" "${pkgdir}/usr/bin/buf" + install -Dm755 "${pkgname}-1.3.0/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" + install -Dm755 "${pkgname}-1.3.0/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" + install -Dm644 "${pkgname}-1.3.0/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" + install -Dm644 "${pkgname}-1.3.0/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" + install -Dm644 "${pkgname}-1.3.0/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" + install -Dm644 "${pkgname}-1.3.0/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" } -sha256sums=('4e90f2c06d0e485c9c2b702295b0b5c262ec0eb73d0ed058d008b23129d12590') +sha256sums=('8f4e79fe23e9b287bf4a55193bd7d1549e3bb9a17e36e983ff84f83041c19d2d') |