1 # Maintainer: Sergey Malkin <adresatt@gmail.com>
3 pkgname=smooth-tasks-fork
7 url="https://bitbucket.org/flupp/smooth-tasks-fork/overview"
8 pkgdesc="A fork of great KDE taskbar replacement plasmoid smooth-tasks aimed to improve on animation and
12 arch=('x86_64' 'i686')
14 _hgroot="https://bitbucket.org/flupp"
15 _hgrepo="smooth-tasks-fork"
17 depends=('kdebase-workspace>=4.3')
18 makedepends=('automoc4' 'cmake' 'mercurial' 'coreutils' 'perl')
22 msg "Connecting to Mercurial server...."
24 if [ -d $_hgrepo ] ; then
27 msg "The local files are updated."
29 hg clone $_hgroot $_hgrepo
32 msg "Mercurial checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_hgrepo-build"
36 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
37 cd "$srcdir/$_hgrepo-build"
43 # Compile the plasmoid
44 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release || return 1
49 cd "$srcdir/$_hgrepo-build"
50 make DESTDIR="${pkgdir}" install || return 1