1 # Maintainer: crazyelf5
6 pkgdesc="A simple screencasting app from the elementary project"
8 url="https://launchpad.net/eidete"
10 depends=('libwnck3' 'granite-bzr' 'gstreamer0.10-base' 'gtk-update-icon-cache' 'cairo' 'glib2'
11 'gtk3' 'gstreamer0.10' 'libxtst' 'gettext' 'hicolor-icon-theme' 'gdk-pixbuf2')
12 makedepends=('bzr' 'vala' 'cmake' 'gcc')
13 optdepends=('contractor-bzr: Contractor support [AUR]')
14 install=$pkgname.install
20 msg "Connecting to Bazaar server...."
22 if [ -d $_bzrmod ]; then
23 cd $_bzrmod && bzr pull $_bzrtrunk -r $pkgver
24 msg "The local files are updated."
27 bzr branch $_bzrtrunk $_bzrmod -r $pkgver
30 msg "BZR checkout done or server timeout"
31 msg "Starting make..."
33 [ -d $_bzrmod-build ] && rm -rf $_bzrmod-build
34 cp -r $_bzrmod $_bzrmod-build
36 [ -d build ] && rm -rf build
40 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
45 cd "$srcdir/$_bzrmod-build/build"
46 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install