void-packages/srcpkgs/hexchat/template
2016-03-14 22:26:53 +01:00

41 lines
1.2 KiB
Bash

# Template file for 'hexchat'
pkgname=hexchat
version=2.12.0
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel gdk-pixbuf-devel"
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl python-devel
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"
short_desc="A GTK+ based IRC client successor of Xchat"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://hexchat.github.io/"
license="GPL-2"
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
checksum=c2072f97510c0fe6ecfb0878750d27179633e08199066972fa00e5a23e67d69d
nocross=yes
post_install() {
# Remove useless files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}
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
}
}