1 #Contributor: Martin Lee <hellnest.fuah@gmail.com>
3 pkgname=gmpc-albumview-git
4 provides=('gmpc-albumview')
5 conflicts=('gmpc-albumview' 'gmpc-albumview-svn')
8 pkgdesc="Browse your library by album covers."
9 url="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_ALBUMVIEW"
11 arch=('i686' 'x86_64')
13 makedepends=('git' 'intltool' 'pkgconfig')
16 _gitroot="git://repo.or.cz/gmpc-albumview.git"
17 _gitname="gmpc-albumview"
20 msg "Connecting to $_gitroot 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 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
33 cd $startdir/src/$_gitname-build
35 ./autogen.sh --prefix=/usr
37 make DESTDIR=$startdir/pkg install