mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
hexchat: split perl/python plugins into subpkgs; remove useless header.
This commit is contained in:
parent
10e6a2d2ec
commit
59d5e80f48
3 changed files with 32 additions and 6 deletions
1
srcpkgs/hexchat-perl
Symbolic link
1
srcpkgs/hexchat-perl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hexchat
|
1
srcpkgs/hexchat-python
Symbolic link
1
srcpkgs/hexchat-python
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
hexchat
|
|
@ -1,21 +1,22 @@
|
||||||
# Template file for 'hexchat'
|
# Template file for 'hexchat'
|
||||||
pkgname=hexchat
|
pkgname=hexchat
|
||||||
version=2.9.6.1
|
version=2.9.6.1
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config gdk-pixbuf-devel "
|
hostmakedepends="pkg-config gdk-pixbuf-devel"
|
||||||
makedepends="gtk+-devel openssl-devel dbus-glib-devel perl python-devel
|
makedepends="gtk+-devel openssl-devel dbus-glib-devel perl python-devel
|
||||||
libnotify-devel libcanberra-devel libxml2-devel"
|
libnotify-devel libcanberra-devel libxml2-devel pciutils-devel
|
||||||
configure_args=" --sysconfdir=/etc --enable-openssl --enable-dbus
|
desktop-file-utils"
|
||||||
--disable-textfe --enable-ipv6 --enable-shm --enable-spell=static"
|
depends="desktop-file-utils"
|
||||||
|
configure_args=" --enable-openssl --enable-dbus
|
||||||
|
--disable-textfe --enable-ipv6 --enable-shm --enable-spell=static"
|
||||||
short_desc="A GTK+ based IRC client successor of Xchat"
|
short_desc="A GTK+ based IRC client successor of Xchat"
|
||||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||||
homepage="http://hexchat.github.io/"
|
homepage="http://hexchat.github.io/"
|
||||||
license="GPL"
|
license="GPL"
|
||||||
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
distfiles="http://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
||||||
checksum=6267ff3c4d0aec8a808365b384115a769d5001d99dbb10403634667c43966470
|
checksum=6267ff3c4d0aec8a808365b384115a769d5001d99dbb10403634667c43966470
|
||||||
make_build_args="LDFLAGS=-lgmodule-2.0"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local perlflags=
|
local perlflags=
|
||||||
|
@ -27,3 +28,26 @@ pre_configure() {
|
||||||
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
post_install() {
|
||||||
|
# Remove useless files.
|
||||||
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
}
|
||||||
|
|
||||||
|
hexchat-perl_package() {
|
||||||
|
replaces="${sourcepkg}<2.9.6.1_2"
|
||||||
|
short_desc+=" - perl plugin"
|
||||||
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/hexchat/plugins/perl.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hexchat-python_package() {
|
||||||
|
replaces="${sourcepkg}<2.9.6.1_2"
|
||||||
|
short_desc+=" - python plugin"
|
||||||
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/hexchat/plugins/python.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue