Github messages for voidlinux
 help / color / mirror / Atom feed
From: keysemble <keysemble@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: gorun-git-20200226
Date: Sat, 11 Jul 2020 00:45:16 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23514@inbox.vuxu.org> (raw)

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

There is a new pull request by keysemble against master on the void-packages repository

https://github.com/keysemble/void-packages gorun-git
https://github.com/void-linux/void-packages/pull/23514

New package: gorun-git-20200226
Hi, this is my first contribution. Let me know if there are any corrections needed and I'll get on it. :sunglasses:

Note: I avoided using `build_style=go` because it was easier for me to build `gorun` this way.

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

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

From cd8b1f2dae3cb34000711f7dbf929adb1faca1ac Mon Sep 17 00:00:00 2001
From: keysemble <kenrap@kennethraplee.com>
Date: Fri, 10 Jul 2020 15:34:14 -0700
Subject: [PATCH] New package: gorun-git-20200226

---
 srcpkgs/gorun-git/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100755 srcpkgs/gorun-git/template

diff --git a/srcpkgs/gorun-git/template b/srcpkgs/gorun-git/template
new file mode 100755
index 00000000000..18720049540
--- /dev/null
+++ b/srcpkgs/gorun-git/template
@@ -0,0 +1,20 @@
+pkgname=gorun-git
+_binname=gorun
+version=20200226
+revision=1
+_githash=739ed4f41ece737c4187d6a6e96bb984487d8277
+makedepends="go"
+wrksrc="${_binname}-${_githash}"
+short_desc="Program to run Go programs as if they were scripts"
+license="GPL3"
+homepage="https://wiki.ubuntu.com/gorun"
+distfiles="https://github.com/erning/gorun/archive/${_githash}.tar.gz"
+checksum="08f8e90694044c80807300927a1225933b5b11498c25a0d29a927a7e0dde816a"
+
+do_build() {
+    GO111MODULE=off go build -o ${_binname}
+}
+
+do_install() {
+    vbin ${_binname}
+}

             reply	other threads:[~2020-07-10 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 22:45 keysemble [this message]
2020-07-10 22:58 ` keysemble
2020-07-10 22:58 ` [PR PATCH] [Closed]: " keysemble

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23514@inbox.vuxu.org \
    --to=keysemble@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).