Skip to content

Instantly share code, notes, and snippets.

@languitar
Created December 23, 2019 13:29
Show Gist options
  • Save languitar/59dd55ca7454ca88c11ade8a5a47ca0b to your computer and use it in GitHub Desktop.
Save languitar/59dd55ca7454ca88c11ade8a5a47ca0b to your computer and use it in GitHub Desktop.
Archlinux PKGBUILD for mopidy-spotify updated for mopidy 3
# Maintainer: Alexandre Petitjean <alpetitjean at gmail dot com>
pkgname=mopidy-spotify
pkgver=4.0.0
pkgrel=1
pkgdesc="Mopidy extension for playing music from Spotify"
arch=('any')
url="http://www.mopidy.com"
license=('APACHE')
depends=(
'mopidy>=3'
'python-pykka'
'python-pyspotify'
'python-setuptools'
'python-requests')
makedepends=('python')
provides=('mopidy-spotify')
source=("https://github.com/mopidy/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('2c71e65fbaf6a23a0e506da25095ba7e')
package() {
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment