Github messages for voidlinux
 help / color / mirror / Atom feed
From: gbrlsnchs <gbrlsnchs@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: buf-0.26.0
Date: Wed, 25 Nov 2020 18:56:53 +0100	[thread overview]
Message-ID: <20201125175653.x51dOhKmbd-HhjqLupwAilBpBctuHegRUaNdAj2-HMQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25319@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

There is an updated pull request by gbrlsnchs against master on the void-packages repository

https://github.com/gbrlsnchs/void-packages buf
https://github.com/void-linux/void-packages/pull/25319

New package: buf-0.26.0


A patch file from https://github.com/void-linux/void-packages/pull/25319.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-buf-25319.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]

From 216aab5dc012e9188b72b21a641686d9f40ddebf Mon Sep 17 00:00:00 2001
From: Gabriel Sanches <gabriel@gsr.dev>
Date: Fri, 2 Oct 2020 19:19:27 -0300
Subject: [PATCH] New package: buf-0.32.0

---
 srcpkgs/buf/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/buf/template

diff --git a/srcpkgs/buf/template b/srcpkgs/buf/template
new file mode 100644
index 00000000000..a93066710f6
--- /dev/null
+++ b/srcpkgs/buf/template
@@ -0,0 +1,34 @@
+# Template file for 'buf'
+pkgname=buf
+version=0.32.0
+revision=1
+build_style=go
+build_helper=qemu
+_base_path=github.com/bufbuild/buf
+go_import_path=${_base_path}/cmd/buf
+go_ldflags="-s -w"
+short_desc="Utility tool for Protocol Buffers"
+maintainer="Gabriel Sanches <gabriel@gsr.dev>"
+license="Apache-2.0"
+homepage="https://buf.build/"
+distfiles="https://${_base_path}/archive/v${version}.tar.gz"
+checksum=a4aebeaa77404bc99fd64bf0e667a7240c0a6228ed43a59043f42314560e64f4
+
+post_build() {
+	buf=$(find $GOPATH/bin -name $pkgname)
+	for shell in bash fish zsh; do
+		vtargetrun $buf ${shell}-completion > ${pkgname}.${shell}
+	done
+
+	# Build additional binaries.
+	for plugin in protoc-gen-buf-check-breaking protoc-gen-buf-check-lint; do
+		go_package=${_base_path}/cmd/${plugin}
+		do_build
+	done
+}
+
+post_install() {
+	for shell in bash fish zsh; do
+		vcompletion ${pkgname}.$shell $shell
+	done
+}

  parent reply	other threads:[~2020-11-25 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03 18:03 [PR PATCH] New package: buf-0.24.0 gbrlsnchs
2020-10-14 14:29 ` [PR PATCH] [Updated] " gbrlsnchs
2020-11-25 17:56 ` gbrlsnchs [this message]
2020-11-25 18:19 ` New package: buf-0.32.0 Duncaen
2020-11-25 18:58 ` [PR PATCH] [Updated] " gbrlsnchs
2020-11-25 18:59 ` gbrlsnchs
2020-11-25 19:00 ` gbrlsnchs
2022-04-20  2:14 ` github-actions
2022-05-04  2:15 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201125175653.x51dOhKmbd-HhjqLupwAilBpBctuHegRUaNdAj2-HMQ@z \
    --to=gbrlsnchs@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).