# Template file for 'minigalaxy'
pkgname=minigalaxy
version=1.0.2
revision=2
build_style=python3-module
hostmakedepends="gettext python3-setuptools"
depends="hicolor-icon-theme webkit2gtk python3-gobject python3-requests"
checkdepends="$depends"
short_desc="Simple GOG client for Linux"
maintainer="Lorem <notloremipsum@protonmail.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=9cb482760c68153f2fc8b8fe229d60033634bc0c7b83a6aa43a9cfa20ab2d0e9

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

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