1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=kdeplasma-applets-smooth-tasks
6 url="https://bitbucket.org/jimi312/smooth-tasks-kde-sc-4.6"
7 pkgdesc="A taskbar replacement Plasmoid with window peeking similar to Windows 7"
10 depends=('kdebase-workspace')
11 makedepends=('automoc4' 'cmake' 'mercurial')
13 _hgroot="http://bitbucket.org/jimi312/"
14 _hgrepo="smooth-tasks-kde-sc-4.6"
18 msg "Connecting to Mercurial server...."
20 if [ -d $_hgrepo ] ; then
23 msg "The local files are updated."
25 hg clone $_hgroot $_hgrepo
28 msg "Mercurial checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "${srcdir}"/build
32 mkdir "${srcdir}"/build
35 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
36 -DCMAKE_BUILD_TYPE=Release
42 make DESTDIR="${pkgdir}" install