1 # Contributor: vicky91 <vickypaiers@gmail.com>
2 # Maintainer: vicky91 <vickypaiers@gmail.com>
3 pkgname=kde-gtk-config-git
6 pkgdesc="Configures the GTK look&feel in your system."
8 url="https://projects.kde.org/projects/playground/base/kde-gtk-config"
10 depends=('kdebase-runtime' )
11 makedepends=('git' 'automoc4' 'cmake' 'gettext' 'gtk2' 'gtk3')
12 conflicts=('chakra-gtk-config' 'chakra-gtk-config-git' )
13 install=${pkgname}.install
15 _gitroot='git://anongit.kde.org/kde-gtk-config'
16 _gitname='kde-gtk-config'
20 msg "Connecting to GIT server...."
22 if [[ -d "${_gitname}" ]]; then
23 cd "${_gitname}" && git pull origin
24 msg "The local files are updated."
26 git clone "${_gitroot}" "${_gitname}"
29 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
32 rm -rf "${srcdir}/${_gitname}-build"
33 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
34 cd "${srcdir}/${_gitname}-build"
36 cmake . -DCMAKE_INSTALL_PREFIX=/usr
41 cd "${srcdir}/${_gitname}-build"
42 make DESTDIR="${pkgdir}/" install