# Template file for 'minigalaxy'
pkgname=minigalaxy
version=1.2.5
revision=3
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="DragonGhost7 <darkiridiumghost@gmail.com>"
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=c0190851c69d89b7b3784a66617af24519977fffb88ee4fabf77db89ea16863f

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

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