1 # created 19:32:43 - 02/08/09
2 # Mainteiner: Frikilinux <frikilinux at frikilinux.com.ar>
7 pkgdesc="A Qt4 client for MPD"
8 url="http://bitcheese.net/wiki/QMPDClient"
10 arch=('i686' 'x86_64')
12 makedepends=('git' 'cmake')
13 conflicts=('qmpdclient')
14 provides=('qmpdclient')
16 _gitroot='https://github.com/Voker57/qmpdclient.git'
21 msg "Connecting to GIT server...."
23 if [[ -d "$_gitname" ]]; then
24 cd "$_gitname" && git pull origin
25 msg "The local files are updated."
27 git clone "$_gitroot" "$_gitname"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 cmake -DCMAKE_INSTALL_PREFIX=/usr
43 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir/" install
47 # vim:set ts=2 sw=2 et: