# Template file for 'minigalaxy'
pkgname=minigalaxy
version=1.2.2
revision=2
build_style=python3-module
hostmakedepends="gettext python3-setuptools"
depends="hicolor-icon-theme webkit2gtk 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=0ae5fc29560d4e02b193274fbfd1df169d500cdb63bb32dee8bbfb30c11f5855

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

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