summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 258aa173838862be51a6edcf76e1731109867c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: mitts <mittens2001@opmbx.org>

pkgname=mopidy-gmusic
pkgver=3.0.0
pkgrel=2
pkgdesc="Mopidy extension for playing music from Google Play Music"
arch=('any')
url="https://github.com/mopidy/mopidy-gmusic"
license=('APACHE')
depends=('python-setuptools' 'mopidy>=1.0.0' 'python-pykka>=1.1.0' 'python-gmusicapi>=10.1.0'
         'python-requests>=2.0' 'python-cachetools>=1.0.0')
makedepends=('python-setuptools')
source=("https://github.com/mopidy/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('6c95f059dfd8189f259c67e517adc38b')

package() {
    cd "$srcdir/$pkgname-$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1

    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}