Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mdcat: add mdless symlink
Date: Tue, 28 Mar 2023 00:10:12 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43053@inbox.vuxu.org> (raw)

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

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

https://github.com/classabbyamp/void-packages mdcat-mdless
https://github.com/void-linux/void-packages/pull/43053

mdcat: add mdless symlink
mdcat has different behaviour if invoked as mdless. other distros package this symlink too.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

cc maintainer @cinerea0


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

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

From 1d4a9d12b4ba5872c54d1ea41393ffae0d1a8bf9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 27 Mar 2023 18:08:01 -0400
Subject: [PATCH] mdcat: add mdless symlink

mdcat has different behaviour if invoked as mdless. other distros package this
symlink too.
---
 srcpkgs/mdcat/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mdcat/template b/srcpkgs/mdcat/template
index 0df201bcb212..9d01ef361b55 100644
--- a/srcpkgs/mdcat/template
+++ b/srcpkgs/mdcat/template
@@ -1,7 +1,7 @@
 # Template file for 'mdcat'
 pkgname=mdcat
 version=1.0.0
-revision=1
+revision=2
 build_style=cargo
 hostmakedepends="pkg-config ruby-asciidoctor"
 makedepends="openssl-devel"
@@ -30,4 +30,5 @@ post_install() {
 
 	man_page=$(find ${wrksrc}/target -name mdcat.1 -print -quit)
 	vman ${man_page}
+	ln -sf /usr/bin/mdcat ${DESTDIR}/usr/bin/mdless
 }

             reply	other threads:[~2023-03-27 22:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 22:10 classabbyamp [this message]
2023-03-27 23:32 ` cinerea0
2023-03-28  0: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-43053@inbox.vuxu.org \
    --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).