# Maintainer: zoorat # Contributor: Tim Schumacher # Contributor: Felix Yan # Contributor: Gordian Edenhofer pkgname=python-spotdl pkgver=3.9.5 pkgrel=1 pkgdesc="Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found)." arch=('any') url="https://github.com/spotDL/spotify-downloader" license=('MIT') depends=('python' 'ffmpeg' 'python-spotipy' 'python-pytube' 'python-rich' 'python-rapidfuzz' 'python-mutagen' 'python-ytmusicapi' 'yt-dlp' 'python-tqdm' 'python-beautifulsoup4' 'python-requests' 'python-unidecode' 'python-pycryptodomex' 'python-websockets') makedepends=('python-setuptools') provides=("$pkgname" "spotdl") options=(strip emptydirs zipman) # install="spotdl.install" source=("https://pypi.io/packages/source/s/spotdl/spotdl-$pkgver.tar.gz") b2sums=('172fc4693b39c52e38446d16314881d38ee03eaeaa27471c8578cfd41f70e1fc1da18c41e1edbb1c65fcc3a35f821c55478935f431b5071997ba0431df938e93') # Document: https://wiki.archlinux.org/title/Python_package_guidelines build() { pushd spotdl-$pkgver python setup.py build popd } package() { pushd spotdl-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -vDm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" popd }