1 # Maintainer: György Balló <ballogy@freestart.hu>
6 pkgdesc="GNOME frontend to the popular X-Chat IRC client"
8 url="http://live.gnome.org/Xchat-Gnome"
10 depends=('gconf>=2.8.0' 'libsexy>=0.1.11' 'libnotify>=0.7.0' 'libcanberra>=0.3' 'hicolor-icon-theme' 'xdg-utils')
11 makedepends=('git' 'gnome-common' 'intltool>=0.40.0' 'gnome-doc-utils' 'python2' 'tcl')
12 optdepends=('python2: plugin support'
13 'tcl: plugin support')
14 provides=('xchat-gnome')
15 conflicts=('xchat-gnome')
17 install=$_pkgname.install
19 _gitroot="git://git.gnome.org/xchat-gnome"
20 _gitname="xchat-gnome"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
45 --disable-static --disable-scrollkeeper --disable-schemas-install \
46 --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
52 cd "$srcdir/$_gitname-build"
54 make DESTDIR="$pkgdir/" install
56 gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$_pkgname.schemas" "$pkgdir"/usr/share/gconf/schemas/*.schemas