summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e36d1fcacf83e844943977f630c39e02fbab9ce0 (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
# Maintainer : David Beley <dbeley@protonmail.com>
pkgname=ypc-git
pkgver=1.7.1
pkgrel=1
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
pkgdesc="Convert spotify/deezer/text albums/playlists to youtube urls and/or download audio/video files."
arch=('any')
url="https://github.com/dbeley/${pkgname%-git}"
license=('MIT')
depends=(
        'python'
        'python-setuptools'
        'youtube-dl'
        'python-requests'
        'python-spotipy-git'
        'python-pandas'
        'python-beautifulsoup4'
        'python-lxml'
        'python-tqdm'
        'python-itunespy'
        )
source=("git+https://github.com/dbeley/${pkgname%-git}")
md5sums=("SKIP")

build() {
  cd "${pkgname%-git}"
  python setup.py build
}

package() {
  cd "${pkgname%-git}"
  python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}