2014-05-13 14:45:13 +02:00
|
|
|
# Template file for 'hexchat'
|
|
|
|
pkgname=hexchat
|
2016-03-14 22:18:55 +01:00
|
|
|
version=2.12.0
|
2016-03-25 22:35:17 +01:00
|
|
|
revision=2
|
2014-05-13 14:45:13 +02:00
|
|
|
lib32disabled=yes
|
|
|
|
build_style=gnu-configure
|
2014-12-06 10:33:54 +01:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel gdk-pixbuf-devel"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl python-devel
|
2014-12-06 10:33:54 +01:00
|
|
|
libnotify-devel libcanberra-devel libxml2-devel pciutils-devel libproxy-devel"
|
|
|
|
depends="desktop-file-utils enchant iso-codes"
|
|
|
|
configure_args=" --enable-openssl --enable-dbus --disable-textfe --enable-ipv6
|
|
|
|
--enable-perl --enable-python"
|
2014-05-13 14:45:13 +02:00
|
|
|
short_desc="A GTK+ based IRC client successor of Xchat"
|
2014-10-27 18:05:31 +01:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-13 14:45:13 +02:00
|
|
|
homepage="http://hexchat.github.io/"
|
2016-03-14 22:18:55 +01:00
|
|
|
license="GPL-2"
|
2014-05-13 14:45:13 +02:00
|
|
|
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
2016-03-14 22:18:55 +01:00
|
|
|
checksum=c2072f97510c0fe6ecfb0878750d27179633e08199066972fa00e5a23e67d69d
|
2015-06-23 13:37:30 +02:00
|
|
|
nocross=yes
|
2014-05-13 14:45:13 +02:00
|
|
|
|
2014-05-13 15:37:41 +02:00
|
|
|
post_install() {
|
|
|
|
# Remove useless files.
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
2014-10-12 08:15:49 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
2014-05-13 15:37:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hexchat-perl_package() {
|
|
|
|
short_desc+=" - perl plugin"
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/hexchat/plugins/perl.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
hexchat-python_package() {
|
|
|
|
short_desc+=" - python plugin"
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/hexchat/plugins/python.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|