summaryrefslogtreecommitdiff
path: root/libre/xchat-libre/PKGBUILD
blob: 8262e03be650d2740e0c2bc6e80cc4ad05307a9a (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
# Maintainer: Eric Belanger <eric@archlinux.org>
# Maintainer: Henry Jensen <hjensen@connochaetos.org>

pkgbasename=xchat
pkgname=xchat-libre
pkgver=2.8.8
pkgrel=3
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)
md5sums=('9a11f13121ff0af787bba3b014378e58'
         '47c665961f11a803e9a12007811a04c9')
sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532'
          '05e673aa44813ddac8aabb251d5f0124efde91a2')



build() {
  cd "${srcdir}/${pkgbasename}-${pkgver}"
  patch -p1 < ../remove-non-free-suggestion.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
}