mdcat: add mdless symlink
mdcat has different behaviour if invoked as mdless. other distros package this symlink too.
This commit is contained in:
parent
00d85c8b8b
commit
890016b490
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue