summaryrefslogtreecommitdiff
path: root/main/xchat/APKBUILD
blob: 7f215037a05df463e9a78c04bac775599ad2490b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xchat
pkgver=2.8.6
pkgrel=0
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
license="GPL"
makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev xextproto perl-dev"
source="http://www.$pkgname.org/files/source/2.8/$pkgname-$pkgver.tar.bz2
	http://www.$pkgname.org/files/source/2.8/patches/xc286-smallfixes.diff
	$pkgname-gtk2.patch"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 < ../xc286-smallfixes.diff || return 1
	patch -p1 < ../xchat-gtk2.patch || return 1
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-openssl \
		--enable-dbus \
		--disable-gnome \
		--disable-textfe \
		--disable-perl \
		--disable-python \
		--enable-ipv6 \
		--enable-shm \
		--enable-spell=static || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="1f2670865d43a23a9abc596dde999aca  xchat-2.8.6.tar.bz2
eb68b6261bf6740cb5f223627eb8f384  xc286-smallfixes.diff
f3fe00982c0bec93152ed0b32438ef87  xchat-gtk2.patch"