1 # Maintainer: Alucryd <alucryd at gmail dot com>
2 # Contributor : André Prata <andreprata at bugflux dot org>
6 pkgdesc="MPRIS2 support for MPD"
7 url="https://github.com/eonpatapon/mpDris2"
10 depends=('mpd' 'dbus-python' 'python2-gobject' 'python2' 'python-mpd')
12 _gitroot="https://github.com/eonpatapon/mpDris2.git"
17 msg "Connecting to the GIT server..."
18 if [[ -d $srcdir/$_gitname ]] ; then
21 msg "The local files are updated..."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done."
28 ./configure --prefix=/usr --sysconfdir=/etc
34 make DESTDIR=$pkgdir install
35 sed -i "s/python/python2/" "$pkgdir/usr/bin/mpDris2"