opt/xchat/Pkgfile

33 lines
867 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: GTK+ based IRC client
2006-09-17 21:03:05 +02:00
# URL: http://www.xchat.org/
2009-01-12 10:39:38 +01:00
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Simone Rota, sip at crux dot nu
2006-09-17 21:03:05 +02:00
# Depends on: openssl, gtk, perl
2006-02-23 16:26:10 +01:00
name=xchat
2008-07-05 15:23:12 +02:00
version=2.8.6
2008-11-23 17:38:31 +01:00
release=2
2007-12-05 02:41:23 +01:00
source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.bz2 \
2008-11-23 17:38:31 +01:00
http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff \
$name-gtk2.patch)
2006-02-23 16:26:10 +01:00
build() {
2006-09-17 21:03:05 +02:00
cd $name-$version
2008-07-05 15:23:12 +02:00
patch -p1 -i $SRC/xc286-smallfixes.diff
2008-11-23 17:38:31 +01:00
patch -p1 -i $SRC/$name-gtk2.patch
2006-09-17 21:03:05 +02:00
./configure --prefix=/usr \
2006-02-23 16:26:10 +01:00
--enable-openssl \
--enable-perl \
--enable-ipv6 \
--disable-gnome \
--disable-textfe \
--disable-python \
--disable-tcl \
--disable-nls
2006-09-17 21:03:05 +02:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{etc,share}
install -D $name.desktop $PKG/usr/share/applications/$name.desktop
install -D $name.png $PKG/usr/share/pixmaps/$name.png
2006-02-23 16:26:10 +01:00
}