1 # Maintainer: crazyelf5
6 pkgdesc="Calendar application written in Vala from the Elementary project"
8 url="https://launchpad.net/maya"
10 depends=('evolution-data-server' 'gobject-introspection' 'glib2'
11 'gtk3' 'granite-bzr' 'libical' 'libgee' 'dconf' 'contractor-bzr')
12 makedepends=('bzr' 'vala' 'cmake' 'gcc' 'gtk-update-icon-cache' 'desktop-file-utils')
13 install=$pkgname.install
19 msg "Connecting to Bazaar server...."
21 if [ -d $_bzrmod ]; then
22 cd $_bzrmod && bzr pull $_bzrtrunk -r $pkgver
23 msg "The local files are updated."
26 bzr branch $_bzrtrunk $_bzrmod -r $pkgver
29 msg "BZR checkout done or server timeout"
30 msg "Starting make..."
33 cp -r $_bzrmod $_bzrmod-build
36 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
41 cd "$srcdir/$_bzrmod-build/build"
42 make DESTDIR="$pkgdir/" install
43 rm -rf "$srcdir/$_bzrmod-build"