# Template file for 'gallery-dl'
pkgname=gallery-dl
version=1.20.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="python3-requests"
short_desc="Command-line program to download image galleries"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/mikf/gallery-dl"
changelog="https://raw.githubusercontent.com/mikf/gallery-dl/master/CHANGELOG.md"
distfiles="https://github.com/mikf/gallery-dl/archive/v${version}.tar.gz"
checksum=4186901ae6aaec389c9e6c138cb9c0408bb70e634c25af0843e9132cf1c50f4b

do_check() {
	make test
}

pre_build() {
	make man completion
}
