Skip to content

Instantly share code, notes, and snippets.

@languitar
Last active December 23, 2019 13:36
Show Gist options
  • Save languitar/fe8015869ff0de9e1c059f3c50c54c31 to your computer and use it in GitHub Desktop.
Save languitar/fe8015869ff0de9e1c059f3c50c54c31 to your computer and use it in GitHub Desktop.
PKGBUILD for mopidy-musicbox on mopidy 3
# Maintainer: Scott Moak <scott dot moak at gmail dot com>
pkgname=mopidy-musicbox
_pypiname=Mopidy-MusicBox-Webclient
pkgver=3.0.1
pkgrel=1
pkgdesc="Web Client for Mopidy Music Server and the Pi MusicBox"
arch=('any')
url="https://github.com/woutervanwijk/Mopidy-MusicBox-Webclient"
license=('APACHE')
depends=('python' 'mopidy>=3.0')
makedepends=('python' 'python-setuptools' 'python-pykka')
source=("https://pypi.python.org/packages/90/b9/ffdbb35edcaeb7b957a0bf0c19134e4da7eec12826596761180fdfda2461/${_pypiname}-${pkgver}.tar.gz")
sha256sums=('1f094c55d3034159ecba511a1e57ec300336f560f8d910d58ee7dd406409d0ff')
package() {
cd "${srcdir}/${_pypiname}-${pkgver}"
python3 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# 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