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

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.19.7.patch xchat-gtk2.patch)

build() {
	cd $name-$version
	patch -p1 -i $SRC/xc286-smallfixes.diff
	patch -p1 -i ../$name-gtk2.patch
	patch -p1 -i $SRC/$name-gtk2.19.7.patch
	./configure --prefix=/usr \
		--enable-openssl \
		--enable-perl \
		--enable-ipv6 \
		--disable-gnome \
		--disable-textfe \
		--disable-python \
		--disable-tcl
	make
	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
}