blob: c4d2a2024d24ce3b354071d4f15099512377de1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: dpawensza <janmikowa@cock.li>
# Contributor: Letu Ren <fantasquex@gmail.com>
# Contributor: kngfr <9bcfbc1ca230857ba09584697f20708a@kngfr.de>
pkgname=spotify_dl
pkgver=8.9.0
pkgrel=2
pkgdesc="Downloads songs from your Spotify Playlist"
arch=('any')
url="https://github.com/SathyaBhat/spotify-dl"
license=('MIT')
makedepends=('python-setuptools')
depends=('python-sentry_sdk' 'yt-dlp' 'python-spotipy' 'python-mutagen' 'python-rich')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('71392ed45f8a7c6ffb674ecdf47acad08738ad63376eacb88f72ed35869372a7')
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|