# Maintainer: Eric Belanger # Maintainer: Henry Jensen pkgbasename=xchat pkgname=xchat-libre pkgver=2.8.8 pkgrel=7 pkgdesc="A GTK+ based IRC client without non-free browser reference" arch=('i686' 'x86_64') url="http://www.xchat.org/" provides=("xchat=$pkgver") replaces=('xchat') conflicts=('xchat') license=('GPL') depends=('gtk2' 'openssl' 'dbus-glib' 'libnotify') makedepends=('tcl' 'perl' 'python2') optdepends=('enchant: for spell checking support' 'tcl: for tcl plugin' 'python2: for python plugin') options=('!libtool') changelog=ChangeLog source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgbasename}-${pkgver}.tar.xz xchat-2.8.8-libnotify07.patch xchat-2.8.8-link-against-libnotify.patch remove-non-free-suggestion.patch no-firefox.patch) build() { cd "${srcdir}/${pkgbasename}-${pkgver}" patch -Np1 -i ${srcdir}/remove-non-free-suggestion.patch patch -Np1 -i ${srcdir}/no-firefox.patch patch -Np1 -i ${srcdir}/xchat-2.8.8-libnotify07.patch patch -Np1 -i ${srcdir}/xchat-2.8.8-link-against-libnotify.patch autoconf autoheader ./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \ --disable-textfe --enable-ipv6 --enable-shm --enable-spell=static make } package() { cd "${srcdir}/${pkgbasename}-${pkgver}" make DESTDIR="${pkgdir}" install } md5sums=('9a11f13121ff0af787bba3b014378e58' '8f0ba48dc3d151cd9b4fbef3255e8c95' '805893e0d8f7c9713d703f34b6bb4b89' 'd0968310982fa9e30d43dd43536b7387' 'ba11c3e889509d1b46307d6ebf74509c')