# Template file for 'gallery-dl'
pkgname=gallery-dl
version=1.27.4
revision=1
build_style=python3-module
make_check_args="--ignore test/test_results.py"
hostmakedepends="python3-setuptools"
depends="python3-requests"
checkdepends="${depends} yt-dlp python3-pytest"
short_desc="Command-line program to download image galleries"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2.0-only"
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/refs/tags/v${version}.tar.gz"
checksum=6f2d749d5fa2c05beefa99b0bae53a180e7a9299f9a48c307ea26b3f854e8bae

pre_build() {
	make man completion
}
