void-packages/srcpkgs/katarakt/template

29 lines
679 B
Bash

# Template file for 'katarakt'
pkgname=katarakt
version=0.2
revision=2
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"
checksum=a4588b4d29a7183289a4d5fd4a8fb30730aa45914070c0dfe613d679701f6a90
wrksrc=katarakt
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
post_build() {
make doc
}
do_install() {
vbin katarakt
vman doc/katarakt.1
vlicense LICENSE
}