1 # Contributor: stonecrest <stonecrest[at]gmail[dot]com>
3 pkgname=python3-mpd-git
6 pkgdesc="Python3 MPD client library"
7 url="http://pypi.python.org/pypi/python-mpd/"
10 arch=('i686' 'x86_64')
11 conflicts=('python3-mpd')
12 provides=('python3-mpd')
16 _gitroot="http://github.com/nikolavp/python-mpd.git"
22 msg "Connecting to GIT server..."
24 if [ -d $srcdir/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 # Copy Latest files to Build Directory
35 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
36 cd $srcdir/$_gitname-build
39 python3 setup.py install --root="$pkgdir" || return 1