opt/xchat/Pkgfile

29 lines
757 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
2010-06-01 08:55:53 +02:00
# Depends on: openssl gtk perl
2006-02-23 16:26:10 +01:00
name=xchat
2010-06-01 08:55:53 +02:00
version=2.8.8
release=2
2010-06-01 08:55:53 +02:00
source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
2006-09-17 21:03:05 +02:00
cd $name-$version
sed -i 's|<glib/.*\.h>|<glib.h>|' src/common/{servlist.c,text.c,util.c,xchat.h}
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-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
}