1 # Contributor: Emanuele Rossi <newdna1510@yahoo.it>
2 # Contributor: Alessio 'alexwizard' Sergi <sergi.alessio {at} gmail.com>
8 pkgdesc="Pidgin Development GIT Version"
10 url="http://gitorious.org/pidgin-clone"
12 depends=('avahi' 'dbus-glib' 'farsight2' 'nss' 'startup-notification')
13 makedepends=('git' 'intltool')
14 optdepends=('tk: Tcl/Tk scripting support'
15 'ca-certificates: SSL CA certificates')
16 provides=(${_realname})
17 conflicts=(${_realname})
20 install=${pkgname}.install
24 _gitroot=git://gitorious.org/pidgin-clone/mainline.git
30 msg "Connecting to GIT server...."
32 if [ -d ${_gitname} ]; then
33 cd ${_gitname} && git pull origin
34 msg "The local files are updated."
39 msg "GIT checkout done or server timeout"
40 msg "Starting make..."
42 [ -d ${_gitname}-build ] && rm -rf ${_gitname}-build
43 git clone ${_gitname} ${_gitname}-build
46 ./autogen.sh --prefix=/usr --sysconfdir=/etc --disable-schemas-install \
47 --disable-meanwhile --disable-nm --disable-perl --disable-gnutls \
48 --disable-doxygen --disable-gtkspell --disable-gestures \
49 --disable-consoleui --disable-tk --disable-tcl \
50 --disable-screensaver --with-system-ssl-certs=/etc/ssl/certs || return 1
53 make DESTDIR=${pkgdir} install || return 1
55 # Remove GConf schema file
56 rm -rf "$pkgdir/etc" || return 1
58 # rm -rf ${srcdir}/${_gitname}-build
61 # vim:set ts=2 sw=2 et: