blob: 443296fe8dff6b88522b1acc61c761f3b7d57f0d (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Tim Schumacher <timschumi@gmx.de>
pkgname=python-ytmusicapi
pkgver=0.19.0
pkgrel=1
pkgdesc="Unofficial API for YouTube Music"
arch=('any')
url="https://github.com/sigma67/ytmusicapi"
license=('MIT')
depends=('python-setuptools' 'python-requests')
_name=${pkgname#python-}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('e95216365952d5e1f50cc5af00966bf2c35d8eaf34a694ae0cfb715d25cc3deb')
build() {
cd ytmusicapi-$pkgver
python setup.py build
}
package() {
cd ytmusicapi-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dvm644 'README.rst' -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
|