From: balejk <balejk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] darkman: update to 2.0.1., add shell completions
Date: Fri, 14 Jun 2024 18:58:44 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50832@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
There is a new pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages darkman-2.0.1
https://github.com/void-linux/void-packages/pull/50832
darkman: update to 2.0.1., add shell completions
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
---
Cc: @motorto
A patch file from https://github.com/void-linux/void-packages/pull/50832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkman-2.0.1-50832.patch --]
[-- Type: text/x-diff, Size: 1563 bytes --]
From ae6c85c61bac0ebd5f559b42de432d5825498b19 Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Fri, 14 Jun 2024 18:34:22 +0200
Subject: [PATCH] darkman: update to 2.0.1., add shell completions
---
srcpkgs/darkman/template | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/darkman/template b/srcpkgs/darkman/template
index 9b73ad81d86241..2db27b77784448 100644
--- a/srcpkgs/darkman/template
+++ b/srcpkgs/darkman/template
@@ -1,8 +1,9 @@
# Template file for 'darkman'
pkgname=darkman
-version=1.5.4
-revision=2
+version=2.0.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="gitlab.com/WhyNotHugo/darkman"
go_package="${go_import_path}/cmd/darkman"
go_ldflags="-X main.Version=${version}"
@@ -14,7 +15,14 @@ license="ISC"
homepage="https://darkman.whynothugo.nl/"
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
-checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
+checksum=8bfcf0884c8a71b523d675f47037c5e4f51dcb52ef59a3b7d538a82c3cf41fbe
+_completions="zsh bash fish"
+
+post_build() {
+ for _shell in ${_completions}; do
+ vtargetrun ${GOPATH}/bin/darkman completion ${_shell} > darkman.${_shell}
+ done
+}
post_install() {
vmkdir usr/share/dbus-1/services
@@ -28,4 +36,8 @@ post_install() {
vman darkman.1
vlicense LICENCE
+
+ for _shell in ${_completions}; do
+ vcompletion darkman.${_shell} ${_shell}
+ done
}
next reply other threads:[~2024-06-14 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 16:58 balejk [this message]
2024-06-14 17:28 ` [PR PATCH] [Updated] " balejk
2024-06-14 17:43 ` balejk
2024-06-14 19:16 ` balejk
2024-06-15 1:05 ` [PR PATCH] [Closed]: " 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50832@inbox.vuxu.org \
--to=balejk@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).