summaryrefslogtreecommitdiffstats
path: root/extra/xchat/Pkgfile
blob: 91184d9e265c941560bc2dd8447c8b23d71fd9d4 (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
# Description: Client IRC basé sur GTK+2
# URL: http://www.xchat.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: openssl, gtk, perl, libsexy

name=xchat
version=2.8.6
release=1
source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.bz2 \
	http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff \
	$name-gtk2.patch)

build() {
	cd $name-$version
	patch -p1 -i $SRC/xc286-smallfixes.diff
	patch -p1 -i $SRC/$name-gtk2.patch
	./configure --prefix=/usr \
		--enable-openssl \
		--enable-perl \
		--enable-ipv6 \
		--disable-gnome \
		--disable-textfe \
		--disable-python \
		--disable-tcl
	make -j3
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/etc
	install -D $name.desktop $PKG/usr/share/applications/$name.desktop
	install -D $name.png $PKG/usr/share/pixmaps/$name.png
}