Blame env-builder-data/build/script/include/inc-pkinstall_release-default.sh

e14835
e14835
pkinstall_release() {
99b145
    copy "$INSTALL_PACKET_DIR" "$INSTALL_RELEASE_PACKET_DIR" || return 1
f0f81e
f0f81e
    rm -rf "$INSTALL_RELEASE_PACKET_DIR/include"
f0f81e
    remove_recursive "$INSTALL_RELEASE_PACKET_DIR/lib" *.a
f0f81e
    remove_recursive "$INSTALL_RELEASE_PACKET_DIR/lib64" *.a
f0f81e
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/aclocal"
f0f81e
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/devhelp"
f0f81e
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/doc"
f0f81e
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/gtk-doc"
f0f81e
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/man"
cf8c28
	
cf8c28
	if ! pkhook_postinstall_release; then
cf8c28
	    return 1
cf8c28
	fi
e14835
}