# Template file for 'minigalaxy'
pkgname=minigalaxy
version=1.4.2
revision=1
build_style=python3-module
hostmakedepends="gettext python3-setuptools"
depends="hicolor-icon-theme libwebkit2gtk41 python3-gobject python3-requests"
checkdepends="$depends python3-simplejson"
short_desc="Simple GOG client for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later, CC-BY-3.0"
homepage="https://sharkwouter.github.io/minigalaxy/"
changelog="https://github.com/sharkwouter/minigalaxy/blob/master/CHANGELOG.md"
distfiles="https://github.com/sharkwouter/minigalaxy/archive/${version}.tar.gz"
checksum=cfb4e6b0fad9df9bb25ff500794a660abe97e43be7aaa85d5e72275ed2541977

do_check() {
	python -m unittest tests/*.py
}

post_install() {
	vlicense THIRD-PARTY-LICENSES.md LICENSE
}
