hexchat: don't remove pkgconfig/headers

This commit is contained in:
classabbyamp 2024-05-01 22:49:18 -04:00 committed by classabbyamp
parent b44eaa1a10
commit 24147ba6bb
2 changed files with 11 additions and 7 deletions

1
srcpkgs/hexchat-devel Symbolic link
View File

@ -0,0 +1 @@
hexchat

View File

@ -1,7 +1,7 @@
# Template file for 'hexchat'
pkgname=hexchat
version=2.16.2
revision=2
revision=3
build_style=meson
configure_args="-Ddbus=enabled -Dtls=enabled
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
@ -31,12 +31,6 @@ if [ "$CROSS_BUILD" ]; then
shared-mime-info"
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"
@ -64,3 +58,12 @@ hexchat-lua_package() {
vmove usr/lib/hexchat/plugins/lua.so
}
}
hexchat-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}