2014-05-13 12:45:13 +00:00
|
|
|
# Template file for 'hexchat'
|
|
|
|
pkgname=hexchat
|
2014-12-06 09:33:54 +00:00
|
|
|
version=2.10.2
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=5
|
2014-05-13 12:45:13 +00:00
|
|
|
lib32disabled=yes
|
|
|
|
build_style=gnu-configure
|
2014-12-06 09:33:54 +00:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel gdk-pixbuf-devel"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl python-devel
|
2014-12-06 09:33:54 +00: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 12:45:13 +00:00
|
|
|
short_desc="A GTK+ based IRC client successor of Xchat"
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-13 12:45:13 +00:00
|
|
|
homepage="http://hexchat.github.io/"
|
|
|
|
license="GPL"
|
|
|
|
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
2014-12-06 09:33:54 +00:00
|
|
|
checksum=87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
|
2014-05-13 12:45:13 +00:00
|
|
|
|
2014-05-13 13:37:41 +00:00
|
|
|
post_install() {
|
|
|
|
# Remove useless files.
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
2014-10-12 06:15:49 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
2014-05-13 13:37:41 +00: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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|