void-packages/srcpkgs/katarakt/template

30 lines
798 B
Bash

# Template file for 'katarakt'
pkgname=katarakt
version=0.2
revision=2
wrksrc="katarakt-v${version}"
build_style=qmake
hostmakedepends="qt5-qmake pkg-config asciidoc"
makedepends="qt5-devel poppler-qt5-devel"
short_desc="A simple PDF viewer"
maintainer="Lukas Braun <void-packages@moshbit.net>"
license="BSD"
homepage="https://wwwcip.cs.fau.de/~go18gomu/katarakt"
#distfiles="https://wwwcip.cs.fau.de/~go18gomu/katarakt/tarballs/katarakt-${version}.tar.xz"
distfiles="https://gitlab.cs.fau.de/Qui_Sum/katarakt/-/archive/v${version}/katarakt-v${version}.tar.gz"
checksum=f60b3b7477975301a6c6657eb0a24d5cc28d321cca70e9746d4d1ea91e239c46
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
post_build() {
make doc
}
do_install() {
vbin katarakt
vman doc/katarakt.1
vlicense LICENSE
}