Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] hex: update to 0.5.0
Date: Wed, 22 Nov 2023 03:18:28 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47342@inbox.vuxu.org> (raw)

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

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

https://github.com/cinerea0/void-packages hex
https://github.com/void-linux/void-packages/pull/47342

hex: update to 0.5.0
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 68bcaf72effb872f14f7bc329a44495ec50fa569 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 21 Nov 2023 21:17:31 -0500
Subject: [PATCH] hex: update to 0.5.0

---
 srcpkgs/hex/template | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/hex/template b/srcpkgs/hex/template
index 441aad4d3c140..75d7656a803a0 100644
--- a/srcpkgs/hex/template
+++ b/srcpkgs/hex/template
@@ -1,17 +1,24 @@
 # Template file for 'hex'
 pkgname=hex
-version=0.4.2
-revision=3
+version=0.5.0
+revision=1
 build_style=cargo
+hostmakedepends="pandoc"
 short_desc="Futuristic take on hexdump"
 maintainer="SolitudeSF <solitudesf@protonmail.com>"
 license="MIT"
 homepage="https://github.com/sitkevij/hex"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=a7cc1ece337fc19e77fbbbca145001bc5d447bde4118eb6de2c99407eb1a3b74
+distfiles="https://github.com/sitkevij/hex/archive/refs/tags/v${version}.tar.gz"
+checksum=7159eb1bf14d3c55aeb260cc5fb857fc8c91aca36fec3d22123aa22ecbab0509
+
+post_build() {
+	vsed -i MANPAGE.md -e 's/hx/hex/g'
+	pandoc --standalone --to man MANPAGE.md -o hex.1
+}
 
 post_install() {
 	# avoid conflict with helix
 	mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/bin/hex
+	vman hex.1
 	vlicense LICENSE
 }

             reply	other threads:[~2023-11-22  2:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22  2:18 cinerea0 [this message]
2023-11-26  8:15 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47342@inbox.vuxu.org \
    --to=cinerea0@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).