1 # Maintainer: Whitney Marshall <whitney.marshall@gmail.com>
5 pkgdesc="A native style for Qt/KDE4"
7 url="http://cloudcity.sourceforge.net"
9 depends=('kdebase-workspace>=4')
10 makedepends=('subversion')
11 conflicts=('cloudcity')
13 _svntrunk=https://cloudcity.svn.sourceforge.net/svnroot/cloudcity
18 msg "Connecting to SVN server...."
20 if [[ -d "$_svnmod/.svn" ]]; then
21 (cd "$_svnmod" && svn up -r "$pkgver")
23 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
26 msg "SVN checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
36 cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release ../$_svnmod
41 cd "$srcdir/$_svnmod-build"
42 make DESTDIR="$pkgdir/" install
45 # vim:set ts=2 sw=2 et: