#Contributor: <thomas.luebking@gmail.com>

pkgname=be.mpc
_realname=be.mpc
pkgver=0.11
_upstream_ver=0.11
pkgrel=1
pkgdesc="Qt4 MPD frontend, kinda experimental GUI"
arch=('i686' 'x86_64')
url="http://qt-apps.org/content/show.php?content=137091"
depends=('qt4>=4.6.0')
makedepends=('gcc')
license=('GPL')

build()
{
    cd ..
    for name in *; do if [ ! -d "$name" ]; then ln -f "$name" "src/$name"; fi; done
    cd src
    qmake
	sed -ie 's/update-desktop-database//g' Makefile
    make || return 1
    make INSTALL_ROOT=$pkgdir install
}

