updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / peachydock-plasmoid-svn / PKGBUILD
blob55c1edd9a246f126bfa4197f19965aa423ef01e1
1 # Contributor: Nick B <Shirakawasuna at gmail dot com>
3 pkgname=peachydock-plasmoid-svn
4 pkgver=1025605
5 pkgrel=1
6 pkgdesc="A complete rewrite of PrettyTasks that eventually bring complete OS-X Dock like functionality to the KDE/Plasma Desktop. (Development tree)"
7 arch=('i686' 'x86_64')
8 url="http://www.kde-look.org/content/show.php/PeachyDock?content=78494"
9 license=('GPL')
10 depends=('kdebase-workspace')
11 makedepends=('subversion' 'cmake' 'gcc' 'automoc4')
12 source=()
13 md5sums=()
15 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/peachydock
16 _svnmod=peachydock
18 build() {
20   cd $startdir/src
22   if [ -d $_svnmod/.svn ]; then
23     (cd $_svnmod && svn up -r $pkgver)
24   else
25     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26   fi
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   cp -r $_svnmod $_svnmod-build
32   cd $_svnmod-build
34   cmake -DCMAKE_INSTALL_PREFIX=/usr
35   make || return 1
36   make DESTDIR=$pkgdir/ install
38   rm -r $srcdir/$_svnmod-build