1 #Maintainer: Martin Lee < hellnest.fuah@gmail.com >
4 provides=('gmpc=0.20.0')
5 conflicts=('gmpc' 'gmpc-svn')
8 pkgdesc="A gnome based GUI client for MPD"
9 url="http://www.gmpclient.org"
11 arch=('i686' 'x86_64')
12 depends=('libglade' 'libmpd-git' 'libsoup' 'libunique')
13 makedepends=('git' 'intltool' 'gob2' 'pkgconfig' 'vala')
14 options=('!libtool' '!makeflags')
16 _gitroot="git://repo.or.cz/gmpc.git"
20 msg "Connecting to repo.or.cz/gmpc server..."
22 if [ -d $startdir/src/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf $srcdir/$_gitname-build
34 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
37 ./autogen.sh --prefix=/usr
39 make DESTDIR=$pkgdir install