blob: 7ccd365b64e1d93d5a94a8ebb4450fc52b466a5f (
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
26
27
28
29
30
|
# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
pkgname=spotify-ripper
pkgver=2.11
pkgrel=5
pkgdesc='Command-line ripper for Spotify, with a workaround for playlist emptying'
arch=('any')
url="https://github.com/wolfmanx/spotify-ripper/tree/pr-collect"
license=('MIT')
depends=('python2' 'python2-spotify' 'mutagen' 'python2-colorama' 'python2-requests'
'python2-schedule' 'python2-spotipy' 'lame')
optdepends=('flac: Rip songs to lossless FLAC encoding' 'opus-tools: Rip songs to Opus encoding'
'vorbis-tools: Rip songs to Ogg Vorbis encoding' 'faac: Rip songs to AAC format with FreeAAC'
'libav-git-no-libs: Rip songs to Apple Lossless format' 'fdkaac: Rip songs to MP4/M4A format with Fraunhofer FDK AAC codec')
makedepends=('python2-setuptools')
source=("https://github.com/wolfmanx/spotify-ripper/archive/pr-collect.zip"
"setup.py" "requirements.txt")
md5sums=('SKIP'
'c80e4dc2d35501cc87ef75deb954a3c0'
'433ec722cffccd32c7e31807262f1128')
package() {
cd $pkgname-*
# fix imports
cp ../setup.py .
cp ../requirements.txt .
python2 setup.py install --root="$pkgdir"
}
|