# Template file for 'dooble'
pkgname=dooble
version=2024.01.25
revision=1
archs="x86_64* aarch64*"
build_style=qmake
configure_args="dooble.pro"
hostmakedepends="qt6-webengine qt6-declarative-devel"
makedepends="qt6-charts-devel qt6-webengine-devel qt6-webchannel-devel qt6-location-devel qt6-charts-devel qt6-wayland python3-QtPy"
depends="qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets"
short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
homepage="https://textbrowser.github.io/dooble/"
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
checksum=56f320170f612fed37ccec0452c3cccdb84583e3f7751550e9b1eee3d9a24281

do_install() {
	vbin Dooble dooble
	vinstall Distributions/dooble.desktop 644 usr/share/applications
	vinstall Icons/Logo/dooble.png 644 usr/share/pixmaps
	vmkdir usr/share/dooble/translations
	vcopy "Translations/dooble_*.qm" usr/share/dooble/translations
	vlicense LICENSE
}
