1 #Contributor: DarkJesus <priestoftime@gmail.com>
3 pkgname=gmpc-mdcover-git
5 conflicts=('gmpc-mdcover' 'gmpc-mdcover-svn')
8 pkgdesc="A plugin for gmpc that obtains album covers from your music directory."
9 url="http://sarine.nl/gmpc"
11 arch=('i686' 'x86_64')
13 makedepends=('git' 'intltool' 'gob2' 'pkgconfig')
18 _gitroot="git://repo.or.cz/gmpc-mdcover.git"
19 _gitname="gmpc-mdcover"
22 msg "Connecting to $_gitroot server..."
24 if [ -d $startdir/src/$_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 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
35 cd $startdir/src/$_gitname-build
37 ./autogen.sh --prefix=/usr
39 make DESTDIR=$startdir/pkg install
41 find $startdir/pkg -type f -name "*.la" -exec rm {} \;