# Maintainer: desbma pkgname=sacad pkgver=2.3.3 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=('d674e7d1751175e574e9d31c712bd26af0dacb441f19119ca21953f47bc0c6ec57b6b062cdac211117a2454c4e705011eee7dcd7600c3ec0998e2315ff75add1') 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}" }