blob: 0288104cbf64ffef7046da89858ab8ca605b79c4 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: Andrea Pascal <andrea@anodium.net>
pkgname=soundscrape-git
pkgver=r237.efc63b9
pkgrel=1
pkgdesc="SoundCloud (and Bandcamp and Mixcloud) downloader in Python"
arch=(any)
url="https://github.com/Miserlou/SoundScrape"
license=(Apache-2.0)
depends=(
python
python-clint
python-demjson
python-requests
python-soundcloud
python-mutagen
)
makedepends=(git python-setuptools)
checkdepends=(python-nose)
provides=(soundscrape)
conflicts=(soundscrape)
source=('git+https://github.com/Miserlou/SoundScrape.git')
sha512sums=('SKIP')
build() {
cd $srcdir/SoundScrape
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/SoundScrape
python setup.py build
}
package() {
cd $srcdir/SoundScrape
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|