6 makedepends=('git' 'cmake')
7 depends=('gtk2' 'gdk-pixbuf2' 'glib2' 'openssl' 'libxml2' 'libnotify' 'gstreamer0.10' 'libxss' 'networkmanager' 'dbus-glib')
8 url='https://github.com/levin108/hybrid'
9 pkgdesc="Hybird is an lightweight IM framework, currently supports China Mobile Fetion protocol and xmpp protocol."
11 _gitroot='https://github.com/levin108/hybrid.git'
15 msg "Connecting to github.com"
17 if [ -d "$_gitname" ] ;then
18 cd "$_gitname" && git pull origin
19 msg "The local files are updated."
23 msg "GIT checkout done or server timeout"
25 cd "$srcdir/$_gitname"
30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
35 cd "$srcdir/$_gitname/build"
36 make DESTDIR="${pkgdir}" install