# Template file for 'gscreenshot' pkgname=gscreenshot version=3.6.3 revision=1 build_style=python3-module hostmakedepends="python3-setuptools gettext go-md2man" # refer to https://github.com/thenaterhood/gscreenshot#installation # for optional dependencies across system configurations depends="gtk+3 python3-setuptools python3-Pillow python3-gobject" checkdepends="${depends} python3-mock python3-pytest" short_desc="GUI for multiple screenshot backends including scrot, PIL, and grim" maintainer="icp " license="GPL-2.0-only" homepage="https://github.com/thenaterhood/gscreenshot" changelog="https://github.com/thenaterhood/gscreenshot/releases" distfiles="https://github.com/thenaterhood/gscreenshot/archive/refs/tags/v${version}.tar.gz" checksum=3f84c71635b9512a1ef7820579213b806ec61796b6224f7a35357008aba27be6 do_check() { (cd src && PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest ../test) }