hexchat: don't remove pkgconfig/headers
This commit is contained in:
parent
b44eaa1a10
commit
24147ba6bb
2 changed files with 11 additions and 7 deletions
1
srcpkgs/hexchat-devel
Symbolic link
1
srcpkgs/hexchat-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
hexchat
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue