ab2a3b70f0
termux_step_install_service_scripts is run after termux_step_post_make_install and loops over the new array TERMUX_PKG_SERVICE_SCRIPT to add service scripts for termux-services. The service scripts are usually only a one-liner so we might just as well define it in a variable like TERMUX_PKG_SERVICE_SCRIPT. TERMUX_PKG_SERVICE_SCRIPT should be an array on the format ("daemon-name" 'script to execute' "another daemon" 'multi\n line\n script'), i.e. it should be of even length with name + script where the script part preferably is within single quotes (to avoid accidental expansion of for example $HOME). |
||
---|---|---|
.. | ||
ci | ||
configure | ||
setup | ||
termux_create_subpackages.sh | ||
termux_download.sh | ||
termux_download_deb.sh | ||
termux_error_exit.sh | ||
termux_extract_dep_info.sh | ||
termux_get_repo_files.sh | ||
termux_step_create_datatar.sh | ||
termux_step_create_debfile.sh | ||
termux_step_extract_into_massagedir.sh | ||
termux_step_extract_package.sh | ||
termux_step_finish_build.sh | ||
termux_step_handle_buildarch.sh | ||
termux_step_handle_hostbuild.sh | ||
termux_step_host_build.sh | ||
termux_step_install_license.sh | ||
termux_step_install_service_scripts.sh | ||
termux_step_make.sh | ||
termux_step_make_install.sh | ||
termux_step_massage.sh | ||
termux_step_patch_package.sh | ||
termux_step_replace_guess_scripts.sh | ||
termux_step_setup_toolchain.sh | ||
termux_step_setup_variables.sh | ||
termux_step_start_build.sh |