Ports/jfduke3d: Add post_install() section

This adds a post_install() section printing out useful information on
how to install the game files.
This commit is contained in:
Kenneth Myhra 2023-07-16 22:08:46 +02:00 committed by Jelle Raaijmakers
parent 7fb2c79054
commit f7d8fb6366

View file

@ -43,3 +43,14 @@ install() {
run cp build "${SERENITY_INSTALL_ROOT}${install_dir}"
run cp duke3d "${SERENITY_INSTALL_ROOT}${install_dir}"
}
post_install() {
echo
echo 'Duke Nukem 3D is installed!'
echo
echo 'Make sure your game files are present in the installation directory:'
echo ' Inside SerenityOS: ~/.jfduke3d'
echo " Outside SerenityOS: ${SERENITY_INSTALL_ROOT}/Base/home/anon/.jfduke3d"
echo
echo 'For more information you can visit the JFDuke3D Documentation: https://www.jonof.id.au/jfduke3d/readme.html'
}