1 #Maintainer: bh <ang5t@gmx.net>
2 #Contributor: lh <jarryson#gmail.com>
6 pkgdesc="A cairo-based themeable dock app for a composited desktop"
7 url="http://www.glx-dock.org/"
10 depends=('librsvg' 'dbus' 'dbus-glib' 'gtkglext')
11 makedepends=('bzr' 'intltool' 'perlxml' 'cmake')
12 conflicts=('cairo-dock' 'cairo-dock-svn')
13 provides=('cairo-dock')
17 _bzrmod=cairo-dock-core
18 _bzrtrunk=http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/
23 msg "Connecting to the server...."
25 if [ ! -d ./${_bzrmod} ]; then
26 bzr --no-plugins branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
28 cd ${_bzrmod} && bzr --no-plugins pull ${_bzrtrunk} -r ${pkgver}
31 msg "bzr checkout done or server timeout"
33 msg "Removing old build directory..."
34 rm -rf $srcdir/$_bzrmod-build
35 msg "Creating build directory..."
36 cp -r $srcdir/$_bzrmod $srcdir/$_bzrmod-build
38 cd $srcdir/$_bzrmod-build
41 cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
43 make install DESTDIR=$pkgdir || return 1
45 #mkdir -p $pkgdir/usr/share/applications
46 #install -Dm644 $srcdir/$_svnmod-build/data/cairo-dock.desktop $pkgdir/usr/share/applications/cairo-dock.desktop || return 1