summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 298ce1c8c3c8327907bb3bdd1589d516ae6aff02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: desbma
pkgname=sacad
pkgver=2.0.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-cssselect' 'python-lxml' 'python-mutagen' 'python-pillow' 'python-tqdm')
makedepends=('python-setuptools' 'python-pip')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/desbma/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('2f7fec383f8919fe418bf3357db43e2ee6a3bd5e77500b00e307d2bc3ca4e382cb2c81db07eaf5e2967db5ab7c2a894ae1aa88ccf4318ef1d87175ec23c359c0')

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}"
}