57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
# Template file for 'hexchat'
|
|
pkgname=hexchat
|
|
version=2.12.4
|
|
revision=2
|
|
lib32disabled=yes
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gettext-devel pkg-config intltool glib-devel
|
|
gdk-pixbuf-devel perl-XML-Parser autoconf-archive"
|
|
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl python-devel
|
|
libnotify-devel libcanberra-devel libxml2-devel pciutils-devel libproxy-devel
|
|
lua-devel"
|
|
depends="desktop-file-utils enchant iso-codes"
|
|
configure_args="--enable-openssl --enable-dbus --disable-textfe
|
|
--enable-perl --enable-python"
|
|
short_desc="A GTK+ based IRC client successor of Xchat"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://hexchat.github.io/"
|
|
license="GPL-2"
|
|
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
|
checksum=fa35913158bbc7d0d99de79371b6df3e8d21802f1d2c7c92f0e5db694acf2c3a
|
|
nocross=yes
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
# Remove useless files.
|
|
rm -rf ${DESTDIR}/usr/include
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
}
|
|
|
|
hexchat-perl_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - perl plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/perl.so
|
|
}
|
|
}
|
|
hexchat-python_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - python plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/python.so
|
|
}
|
|
}
|
|
|
|
hexchat-lua_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - lua plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/lua.so
|
|
}
|
|
}
|