Skip to content

Instantly share code, notes, and snippets.

@tonyfinn
Created January 8, 2020 23:03
Show Gist options
  • Select an option

  • Save tonyfinn/2234b75f5a72cca23e0547b6401e23fe to your computer and use it in GitHub Desktop.

Select an option

Save tonyfinn/2234b75f5a72cca23e0547b6401e23fe to your computer and use it in GitHub Desktop.

Revisions

  1. tonyfinn created this gist Jan 8, 2020.
    21 changes: 21 additions & 0 deletions PKGBUILD
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    pkgname=mopidy-mpris
    pkgver=3.0.1
    pkgrel=1
    pkgdesc="Mopidy extension for controlling Mopidy through the MPRIS D-Bus interface"
    arch=('any')
    url="http://www.mopidy.com"
    license=('APACHE')
    depends=(
    'mopidy>=3.0'
    'python-pykka>=2.0'
    'python-setuptools'
    'python-pydbus')
    makedepends=('python')
    provides=('mopidy-mpris')
    source=("https://github.com/mopidy/${pkgname}/archive/v${pkgver}.tar.gz")
    sha256sums=('b37afe2e99200cdd258750732fc04495c39a5279a63d9a5e9bb4e811313bdcfe')

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