1 # Maintainer: Mikhail Borisov <borisov.mikhail@gmail.com>
3 pkgname=vacuum-kinotifications-hg
6 pkgdesc="Kinetic notification plugin for Vacuum IM"
8 url="http://code.google.com/p/vacuum-plugins/"
11 makedepends=('mercurial' 'git')
12 provides=(vacuum-kinotifications)
14 _hgroot="https://kinotifications.vacuum-plugins.googlecode.com/hg/"
15 _hgrepo="vacuum-plugins-kinotifications"
17 _vacuum_git="git://gitorious.org/vacuum-im/vacuum-im.git"
22 msg "Connecting to Mercurial server...."
24 if [ -d $_hgrepo ] ; then
27 msg "The local files are updated."
30 hg clone $_hgroot $_hgrepo
33 msg "Mercurial checkout done or server timeout"
35 msg "Fetching Vacuum sources from git"
37 if [ -d $_vacuum_repo ] ; then
40 msg "The local files are updated."
43 git clone $_vacuum_git $_vacuum_repo
46 msg "Starting make..."
48 rm -rf "$_hgrepo-build"
49 cp -r "$_hgrepo" "$_hgrepo-build"
52 qmake "INSTALL_PREFIX=$pkgdir/usr" "VACUUM_SOURCE_PATH=$srcdir/$_vacuum_repo"
57 cd "$srcdir/$_hgrepo-build"