mdcat: add mdless symlink

mdcat has different behaviour if invoked as mdless. other distros package this
symlink too.
This commit is contained in:
classabbyamp 2023-03-27 18:08:01 -04:00 committed by classabbyamp
parent 00d85c8b8b
commit 890016b490
1 changed files with 2 additions and 1 deletions

View File

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