From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] glow: update to 1.5.0.
Date: Wed, 25 Jan 2023 21:34:43 +0100 [thread overview]
Message-ID: <20230125203443.hPSv5XEBhFQSLNG5H3QIONP8Qifxxh01ekGDEfyfj7k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41872@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages glow
https://github.com/void-linux/void-packages/pull/41872
glow: update to 1.5.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/41872.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glow-41872.patch --]
[-- Type: text/x-diff, Size: 1305 bytes --]
From b1cfbd2ae749c5de898236b6356ddfd965cc4869 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 24 Jan 2023 12:17:53 +0530
Subject: [PATCH] glow: update to 1.5.0.
---
srcpkgs/glow/template | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/glow/template b/srcpkgs/glow/template
index 6b283d3d6ab7..ce2cff4a3f0c 100644
--- a/srcpkgs/glow/template
+++ b/srcpkgs/glow/template
@@ -1,16 +1,22 @@
# Template file for 'glow'
pkgname=glow
-version=1.4.1
+version=1.5.0
revision=1
build_style=go
go_import_path=github.com/charmbracelet/glow
+go_ldflags="-X main.Version=${version}"
short_desc="Render markdown on the CLI, with pizzazz"
maintainer="klardotsh <josh@klar.sh>"
license="MIT"
homepage="https://github.com/charmbracelet/glow"
-distfiles="https://github.com/charmbracelet/glow/archive/v${version}.tar.gz"
-checksum=ff6dfd7568f0bac5144ffa3a429ed956dcbdb531487ef6e38ac61365322c9601
+distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
+checksum=66f2a876eba15d71cfd08b56667fb07e1d49d383aa17d31696a39e794e23ba92
post_install() {
+ for shell in bash fish zsh; do
+ CGO_ENABLED=0 GOARCH= go run . completion ${shell} > glow.${shell}
+ vcompletion glow.${shell} ${shell}
+ done
+
vlicense LICENSE
}
next prev parent reply other threads:[~2023-01-25 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-25 20:31 [PR PATCH] " icp1994
2023-01-25 20:34 ` icp1994 [this message]
2023-01-29 22:33 ` [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=20230125203443.hPSv5XEBhFQSLNG5H3QIONP8Qifxxh01ekGDEfyfj7k@z \
--to=icp1994@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).