# Maintainer: desbma # shellcheck disable=SC2034,SC2148,SC2154,SC2164 pkgname=sacad pkgver=2.5.1 pkgrel=1 pkgdesc='Smart Automatic Cover Art Downloader' arch=('any') url="https://github.com/desbma/${pkgname}" license=('MPL2') depends=('python' 'python-aiohttp' 'python-appdirs' 'python-bitarray' 'python-cssselect' 'python-fake-useragent' 'python-lxml' 'python-mutagen' 'python-pillow' 'python-setuptools' 'python-tqdm' 'python-unidecode') optdepends=('jpegoptim: for automatic lossless JPEG crunching' 'optipng: for automatic lossless PNG crunching') makedepends=('python-pip') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/desbma/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('6d9ee92552cfc3a3eaa544ed3b6c1c0243223aa775ccf33ecf6e8f99af4f40bdb4129b933a3b50bfef8e53c9600cd3316f87296ed5c371ee4e01f908f6967968') package() { cd "${pkgname}-${pkgver}" PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps web_cache python setup.py install --root="${pkgdir}" }