summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3a1c902596592c6d7e85ce8a99365b008ae50ed (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=1
pkgdesc="Mopidy extension for playing music from Google Play Music"
arch=('any')
url="https://github.com/mopidy/mopidy-gmusic"
license=('APACHE')
depends=('python2-setuptools' 'mopidy>=1.0.0' 'python2-pykka>=1.1.0' 'python2-gmusicapi>=10.1.0'
         'python2-requests>=2.0' 'python2-cachetools>=1.0.0')
makedepends=('python2-setuptools')
source=("https://github.com/mopidy/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('6c95f059dfd8189f259c67e517adc38b')

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

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