From ec6163d856cd216b944a898eddf2a3d807334b76 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Mon, 5 Oct 2020 11:27:47 +1100 Subject: [PATCH] New package: instaloader-4.5.3. --- srcpkgs/instaloader/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/instaloader/template diff --git a/srcpkgs/instaloader/template b/srcpkgs/instaloader/template new file mode 100644 index 00000000000..034df7073f7 --- /dev/null +++ b/srcpkgs/instaloader/template @@ -0,0 +1,27 @@ +# 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 " +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 +}