summaryrefslogtreecommitdiffstats
path: root/xchat/Pkgfile
blob: eb6492c87e7b08ba4f8f0f47b2921d8f67bf0256 (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=2

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
}