1 # Contributor: Andrea Cimitan <andrea.cimitan@gmail.com>
6 pkgdesc="A GTK+ based IRC client, Xchat, with Tango Icons"
8 url="http://www.xchat.org/"
10 depends=('gtk2>=2.10.9' 'openssl>=0.9.8b' 'dbus-glib>=0.7.2')
11 makedepends=('tcl' 'perl' 'python')
12 optdepends=('enchant: for spell checking support')
18 source=(http://www.xchat.org/files/source/${pkgver%.*}/xchat-${pkgver}.tar.bz2 xchat-tango-pack.tar.gz)
19 md5sums=('6775c44f38e84d06c06c336b32c4a452'
20 'f23201103385f8607f1fefe378366b78')
23 cd ${startdir}/src/xchat-${pkgver}
26 cp ${startdir}/src/xchat-tango-pack/pixmaps/*.png ${startdir}/src/xchat-${pkgver}/src/pixmaps/
27 cp ${startdir}/src/xchat-tango-pack/xchat/* ${startdir}/src/xchat-${pkgver}/
30 ./configure --prefix=/usr --sysconfdir=/etc \
31 --enable-openssl --enable-dbus \
32 --disable-gnome --disable-textfe \
33 --enable-ipv6 --enable-shm \
34 --enable-spell=static || return 1
36 make DESTDIR=${startdir}/pkg install || return 1
38 # use tango icons in hicolor icon theme
39 mkdir -p ${startdir}/pkg/usr/share/icons/
40 cp -r ${startdir}/src/xchat-tango-pack/hicolor ${startdir}/pkg/usr/share/icons/