mdcat: update to 0.23.0
Add shell completions and the man page, and add changelog to template. Closes: #31826 [via git-merge-pr]
This commit is contained in:
parent
e410538ef0
commit
707988e9ff
|
@ -1,15 +1,32 @@
|
||||||
# Template file for 'mdcat'
|
# Template file for 'mdcat'
|
||||||
pkgname=mdcat
|
pkgname=mdcat
|
||||||
reverts="0.22.2_1"
|
version=0.23.0
|
||||||
version=0.22.1
|
revision=1
|
||||||
revision=3
|
|
||||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="cmake pkg-config"
|
hostmakedepends="pkg-config ruby-asciidoctor"
|
||||||
makedepends="openssl-devel"
|
makedepends="openssl-devel"
|
||||||
short_desc="Cat for markdown"
|
short_desc="Cat for markdown"
|
||||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
homepage="https://github.com/lunaryorn/mdcat"
|
homepage="https://github.com/lunaryorn/mdcat"
|
||||||
|
changelog="https://raw.githubusercontent.com/lunaryorn/mdcat/main/CHANGELOG.md"
|
||||||
distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz"
|
distfiles="https://github.com/lunaryorn/mdcat/archive/mdcat-${version}.tar.gz"
|
||||||
checksum=b14846542fb8b60ac0235b399136372df7569aa59ed63f3faf88ff7a485abe5f
|
checksum=9fba4fe06f8970a70ca75666f8245181583a6ba5fb11536ae7e572f74c9d1f4c
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64*|i686*|arm*|aarch64*) ;;
|
||||||
|
*) broken="ftbfs in ring" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
bash_completion=$(find ${wrksrc}/target -name mdcat.bash -print -quit)
|
||||||
|
vcompletion ${bash_completion} bash
|
||||||
|
zsh_completion=$(find ${wrksrc}/target -name _mdcat -print -quit)
|
||||||
|
vcompletion ${zsh_completion} zsh
|
||||||
|
fish_completion=$(find ${wrksrc}/target -name mdcat.fish -print -quit)
|
||||||
|
vcompletion ${fish_completion} fish
|
||||||
|
|
||||||
|
man_page=$(find ${wrksrc}/target -name mdcat.1 -print -quit)
|
||||||
|
vman ${man_page}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue