26 lines
843 B
Bash
26 lines
843 B
Bash
# Template file for 'gallery-dl'
|
|
pkgname=gallery-dl
|
|
version=1.10.6
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="gallery_dl"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="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="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=1ecc3dc9684ac241db8239e96cee36a701fd4d96d3f69a054a314242d911ef2f
|
|
|
|
post_build() {
|
|
make man completion
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir usr/share/bash-completion/completions
|
|
mv ${DESTDIR}/usr/etc/bash_completion.d/gallery-dl.bash_completion \
|
|
${DESTDIR}/usr/share/bash-completion/completions/gallery-dl
|
|
}
|