void-packages/srcpkgs/qolibri/template
2021-07-04 17:44:58 -03:00

25 lines
844 B
Bash

# Template file for 'qolibri'
pkgname=qolibri
version=2.1.4
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=0163f19f80915879c5c276f48507aedfe5c186be3c57f965db5d68a9a7157150
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
}