28 lines
878 B
Bash
28 lines
878 B
Bash
# Template file for 'instaloader'
|
|
pkgname=instaloader
|
|
version=4.5.3
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-requests python3-urllib3 python3-idna python3-chardet
|
|
python3-certifi"
|
|
checkdepends="${depends}"
|
|
short_desc="Download pictures with metadata from Instagram"
|
|
maintainer="fosslinux <fosslinux@aussies.space>"
|
|
license="MIT"
|
|
homepage="https://instaloader.github.io"
|
|
distfiles="${PYPI_SITE}/i/${pkgname}/${pkgname}-${version}.tar.gz
|
|
https://raw.githubusercontent.com/${pkgname}/${pkgname}/v${version}/LICENSE"
|
|
checksum="4cc59b68e7498c778e54599917af749aaac36a6527cbd495b80f843f7eccd8ff
|
|
9e721228bbfb782a6b5f3fd8494f5666f3ee8e61c592810b900955b9f1b1bae5"
|
|
skip_extraction="LICENSE"
|
|
|
|
# ship your licenses, people
|
|
post_extract() {
|
|
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE" .
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|