_system_sed_path() { echo "$1" | sed -e "s/\//_/g" } _system_install() { temp_pkg=$1 temp_src=$(_system_sed_path "$temp_pkg") # shellcheck disable=SC2154 install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}" }