From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: hut-0.1.0
Date: Sun, 17 Apr 2022 01:37:29 +0200 [thread overview]
Message-ID: <20220416233729.hTn8KQEBvfmqQcaps26wwwQUnJ8aHjSVcqwc-4p59UA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36716@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/36716#issuecomment-1100770941
Comment:
I was able to get it to work with `hut=$(find $GOPATH/bin -name hut)` and `vtargetrun`
```diff
diff --git a/srcpkgs/hut/template b/srcpkgs/hut/template
index 25f1d9bdd2..f1448fcf1f 100644
--- a/srcpkgs/hut/template
+++ b/srcpkgs/hut/template
@@ -4,6 +4,7 @@ version=0.1.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=go
+build_helper=qemu
go_import_path="git.sr.ht/~emersion/hut"
hostmakedepends="scdoc"
short_desc="CLI tool for sr.ht"
@@ -15,13 +16,11 @@ distfiles="https://git.sr.ht/~emersion/hut/archive/v${version}.tar.gz"
checksum=5af8f1111f9ec1da9a818978eb1f013dfd50ad4311c79d95b0e62ad428ac1c59
post_install() {
- $GOPATH/bin/hut completion bash >hut.bash
- $GOPATH/bin/hut completion zsh >hut.zsh
- $GOPATH/bin/hut completion fish >hut.fish
-
- vcompletion hut.bash bash
- vcompletion hut.zsh zsh
- vcompletion hut.fish fish
+ hut=$(find $GOPATH/bin -name hut)
+ for sh in bash fish zsh; do
+ vtargetrun $hut completion $sh > hut.$sh
+ vcompletion hut.$sh $sh
+ done
vlicense LICENSE
```
next prev parent reply other threads:[~2022-04-16 23:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-16 3:57 [PR PATCH] " kotajacob
2022-04-16 3:58 ` the-maldridge
2022-04-16 4:04 ` [PR REVIEW] " classabbyamp
2022-04-16 4:29 ` kotajacob
2022-04-16 22:43 ` kotajacob
2022-04-16 23:33 ` [PR REVIEW] " classabbyamp
2022-04-16 23:37 ` classabbyamp [this message]
2022-04-17 1:02 ` [PR PATCH] [Updated] " kotajacob
2022-04-17 1:05 ` kotajacob
2022-07-01 6:03 ` [PR PATCH] [Merged]: " classabbyamp
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=20220416233729.hTn8KQEBvfmqQcaps26wwwQUnJ8aHjSVcqwc-4p59UA@z \
--to=classabbyamp@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).