blob: f04ec2f479b7be16836d770d208c391e5ddf0e90 (
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
45
46
47
48
49
50
|
# Maintainer: Eric Belanger <eric@archlinux.org>
# Maintainer: Henry Jensen <hjensen@connochaetos.org>
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')
|