summaryrefslogtreecommitdiffstats
path: root/extra/xchat/Pkgfile
blob: c421b5cee67aaffe864a4a9715f0753695ca0ee1 (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
# Description: Client IRC base sur Gtk
# URL: http://www.xchat.org/
# Maintainer: NutyX core team
# Packager: lesibel at free dot fr
# Depends on: gtk, enchant, dbus-glib, libnotify
# Run on: gtk,enchant,dbus-glib,libnotify

name=xchat
version=2.8.8
release=1

source=(http://www.xchat.org/files/source/${version%.*}/$name-$version.tar.xz
        xchat-2.8.8-libnotify07.patch
        xchat-2.8.8-link-against-libnotify.patch)

build() {
	cd $SRC/$name-$version
  	patch -Np1 -i ../xchat-2.8.8-libnotify07.patch
  	patch -Np1 -i ../xchat-2.8.8-link-against-libnotify.patch
  	autoconf
  	autoheader

  	./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \
    		--disable-textfe --enable-shm --enable-spell=static
  	make
	make DESTDIR=$PKG install
}