diff --git a/srcpkgs/hexchat-devel b/srcpkgs/hexchat-devel new file mode 120000 index 00000000000..6cf68e662f6 --- /dev/null +++ b/srcpkgs/hexchat-devel @@ -0,0 +1 @@ +hexchat \ No newline at end of file diff --git a/srcpkgs/hexchat/template b/srcpkgs/hexchat/template index d20bef5fccf..11b9253c415 100644 --- a/srcpkgs/hexchat/template +++ b/srcpkgs/hexchat/template @@ -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 + } +}