# Template file for 'gallery-dl'
pkgname=gallery-dl
version=1.14.1
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-requests python3-setuptools"
checkdepends="python3-requests python3-nose"
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="${homepage}/archive/v${version}.tar.gz"
checksum=a1cb56dec274a1a529872312a945a181e168fc4d5b05ea3934a0954b1f28397f

do_check() {
	make test
}

pre_build() {
	make man completion
}
