void-packages/srcpkgs/dooble/template

25 lines
922 B
Bash

# Template file for 'dooble'
pkgname=dooble
version=2023.08.30
revision=1
build_style=qmake
configure_args="dooble.pro"
hostmakedepends="qt5-qmake qt5-host-tools qt5-webengine"
makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel"
depends="qt5-plugin-sqlite"
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=d430cbc8fcbe7627d7494bd995d7e88beb728cd94bf4d3039cb3718e685391a7
do_install() {
vbin Dooble dooble
vinstall 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
}