summaryrefslogtreecommitdiff
path: root/libre/xchat-libre/PKGBUILD
blob: 0c0c0b6b192f61dcef335f13a5777cdf56b79fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Eric Belanger <eric@archlinux.org>
# Maintainer: Henry Jensen <hjensen@connochaetos.org>

pkgbasename=xchat
pkgname=xchat-libre
pkgver=2.8.8
pkgrel=3.1
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')
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
        remove-non-free-suggestion.patch
        no-firefox.patch)

build() {
  cd "${srcdir}/${pkgbasename}-${pkgver}"
  patch -p1 < ../remove-non-free-suggestion.patch
  patch -p1 < ../no-firefox.patch
  ./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'
         '47c665961f11a803e9a12007811a04c9'
         'ba11c3e889509d1b46307d6ebf74509c')
sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532'
          '05e673aa44813ddac8aabb251d5f0124efde91a2'
          '3a1c115c4436bdfb1882bcf93dedbe0d40dad9ae')