1 # Maintainer: vicky91 <vickypaiers@gmail.com>
2 pkgname=plasma-mediacenter-git
5 pkgdesc="A Media Center for the KDE Software Compilation based on plasma technology"
7 url="https://projects.kde.org/projects/playground/multimedia/plasma-mediacenter"
9 depends=('kdebase-workspace' 'taglib')
10 makedepends=('cmake' 'automoc4' )
12 _gitroot="git://anongit.kde.org/plasma-mediacenter"
13 _gitname="plasma-mediacenter"
19 msg "Connecting to the KDE GIT server...."
20 if [[ -d ${srcdir}/${_gitname} ]] ; then
23 msg "The local files are updated..."
25 git clone ${_gitroot} ${_gitname}
28 msg "GIT checkout done."
30 msg "Starting make for: ${pkgname}"
32 if [[ -d ${srcdir}/${_gitname}-build ]]; then
33 msg "Cleaning the previous build directory..."
34 rm -rf ${srcdir}/${_gitname}-build
37 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
39 cd ${srcdir}/${_gitname}-build
41 cmake -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix ) -DCMAKE_BUILD_TYPE=Release .
44 make DESTDIR=$pkgdir install || return 1