diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 17 insertions, 12 deletions
@@ -1,12 +1,12 @@ pkgbase = buf pkgdesc = A new way of working with Protocol Buffers - pkgver = 1.0.0rc10 + pkgver = 1.0.0rc11 pkgrel = 1 url = https://buf.build arch = any license = Apache makedepends = go - source = https://github.com/bufbuild/buf/archive/v1.0.0-rc10.tar.gz - sha256sums = fabcfea330f2ebc661cf86fdceeb754b937a1337629d0030bc4a97747b101459 + source = https://github.com/bufbuild/buf/archive/v1.0.0-rc11.tar.gz + sha256sums = a2fb95a54baf721f9d53c474c0d7ee282316a540c5cd5231c1d8dabb4faeeea7 pkgname = buf @@ -1,28 +1,33 @@ # Maintainer: Johan Brandhorst <jbrandhorst@buf.build> # Contributor: Alexander Menzhinsky <amenzhinsky@gmail.com> pkgname=buf -pkgver=1.0.0rc10 +pkgver=1.0.0rc11 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.0.0-rc10.tar.gz") +source=("https://github.com/bufbuild/buf/archive/v1.0.0-rc11.tar.gz") build() { - cd ${pkgname}-1.0.0-rc10 + cd ${pkgname}-1.0.0-rc11 go build -trimpath -buildmode=pie -mod=readonly -modcacherw -o . ./cmd/{buf,protoc-gen-buf-lint,protoc-gen-buf-breaking} ./buf bash-completion >completion.bash ./buf zsh-completion >completion.zsh + ./buf fish-completion >completion.fish + mkdir -p manpages + ./buf manpages manpages } package() { - install -Dm755 "${pkgname}-1.0.0-rc10/buf" "${pkgdir}/usr/bin/buf" - install -Dm755 "${pkgname}-1.0.0-rc10/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" - install -Dm755 "${pkgname}-1.0.0-rc10/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" - install -Dm644 "${pkgname}-1.0.0-rc10/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" - install -Dm644 "${pkgname}-1.0.0-rc10/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" + install -Dm755 "${pkgname}-1.0.0-rc11/buf" "${pkgdir}/usr/bin/buf" + install -Dm755 "${pkgname}-1.0.0-rc11/protoc-gen-buf-lint" "${pkgdir}/usr/bin/protoc-gen-buf-lint" + install -Dm755 "${pkgname}-1.0.0-rc11/protoc-gen-buf-breaking" "${pkgdir}/usr/bin/protoc-gen-buf-breaking" + install -Dm644 "${pkgname}-1.0.0-rc11/completion.bash" "${pkgdir}/etc/bash_completion.d/buf" + install -Dm644 "${pkgname}-1.0.0-rc11/completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_buf" + install -Dm644 "${pkgname}-1.0.0-rc11/completion.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/buf.fish" + install -Dm644 "${pkgname}-1.0.0-rc11/manpages/${pkgname}"* -t "${pkgdir}/usr/share/man/man1/" } -sha256sums=('fabcfea330f2ebc661cf86fdceeb754b937a1337629d0030bc4a97747b101459') +sha256sums=('a2fb95a54baf721f9d53c474c0d7ee282316a540c5cd5231c1d8dabb4faeeea7') |