updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / xchat-tango / PKGBUILD
blob0412a9c88530a5e23a49a3b332e557bce70b0ce8
1 # Contributor: Andrea Cimitan <andrea.cimitan@gmail.com>
3 pkgname=xchat-tango
4 pkgver=2.8.8
5 pkgrel=4
6 pkgdesc="A GTK+ based IRC client, Xchat, with Tango Icons"
7 arch=('i686' 'x86_64')
8 url="http://www.xchat.org/"
9 license=('GPL')
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')
13 options=('!libtool')
14 provides=('xchat')
15 replaces=('xchat')
16 conflicts=('xchat')
17 install=xchat.install
18 source=(http://www.xchat.org/files/source/${pkgver%.*}/xchat-${pkgver}.tar.bz2 xchat-tango-pack.tar.gz)
19 md5sums=('6775c44f38e84d06c06c336b32c4a452'
20          'f23201103385f8607f1fefe378366b78')
22 build() {
23   cd ${startdir}/src/xchat-${pkgver}
25   # copy tango icons
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}/
29   # compile as always
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
35   make || 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/