void-packages/srcpkgs/hexchat/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

41 lines
1.2 KiB
Bash

# Template file for 'hexchat'
pkgname=hexchat
version=2.10.2
revision=5
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"
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
checksum=87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
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
}
}