void-packages/srcpkgs/qolibri/template
2020-12-17 12:19:01 -03:00

26 lines
844 B
Bash

# Template file for 'qolibri'
pkgname=qolibri
version=2.1.3
revision=1
wrksrc="${pkgname}-${version}"
build_style=cmake
hostmakedepends="qt5-tools-devel"
makedepends="libeb-devel qt5-declarative-devel qt5-devel qt5-location-devel
qt5-multimedia-devel qt5-tools-devel qt5-webchannel-devel qt5-webengine-devel
zlib-devel"
short_desc="EPWING Dictionary/Book Viewer"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/ludios/qolibri"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=6954b9e86cbc70026361927b22bc9b0bd58a188646e35c4da68f99790790367e
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
post_install() {
vinstall ${wrksrc}/qolibri.desktop 644 usr/share/applications
vinstall ${wrksrc}/images/qolibri-128.png 644 usr/share/pixmaps qolibri.png
}