# Template file for 'cppman'
pkgname=cppman
version=0.5.6
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-BeautifulSoup4 python3-html5lib python3-lxml"
checkdepends="$depends"
short_desc="C++ 98/11/14 manual pages for Linux"
maintainer="Omar Zeghouani <omarzeghouanii@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/aitjcize/cppman"
changelog="https://raw.githubusercontent.com/aitjcize/cppman/master/ChangeLog"
distfiles="https://github.com/aitjcize/cppman/archive/refs/tags/${version}.tar.gz"
checksum=bfd80bf239e881a79421e8ef50d4365043b18bf13e61f4d7405730bbc92dc407

post_install() {
	mv ${DESTDIR}/usr/share/bash-completion/completions/cppman{.bash,}
	rm ${DESTDIR}/usr/share/zsh/vendor-completions/_cppman
	vcompletion misc/completions/zsh/_cppman zsh
}
