1 #Maintainer: Jekyll Wu < adaptee [at] gmail [dot] com>
7 pkgdesc="Port of the Oxygen theme to gtk"
9 url="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
11 depends=('gtk2' 'dbus-glib')
12 makedepends=('git' 'cmake')
13 conflicts=('oxygen-gtk')
14 provides=('oxygen-gtk')
16 _gitroot="git://anongit.kde.org/oxygen-gtk"
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 make..."
33 rm -rf "${srcdir}/${_gitname}-build"
34 git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
35 cd "${srcdir}/${_gitname}-build"
37 cmake -DCMAKE_INSTALL_PREFIX=/usr \
38 -DCMAKE_BUILD_TYPE=Release \
41 make DESTDIR=${pkgdir} install
42 rm -rf "${srcdir}/${_gitname}-build"