diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-05 23:25:03 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-05 23:25:03 +0000 |
commit | 8c71923174c4e5851d150b806250bc54cef084e8 (patch) | |
tree | 862803e30a3e1947229af5fa640ab6442e7efb17 /vars | |
parent | 5ec894976ebe26a79afa48f4fc2b12faa7b860e6 (diff) | |
download | midipix_build-8c71923174c4e5851d150b806250bc54cef084e8.tar.bz2 midipix_build-8c71923174c4e5851d150b806250bc54cef084e8.tar.xz |
vars/dist_minipix_dist.vars: only copy share/terminfo/[psx]/{putty,screen,xterm}{,-256color}.
Diffstat (limited to 'vars')
-rw-r--r-- | vars/dist_minipix_dist.vars | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vars/dist_minipix_dist.vars b/vars/dist_minipix_dist.vars index 8584c69c..8cb8d555 100644 --- a/vars/dist_minipix_dist.vars +++ b/vars/dist_minipix_dist.vars @@ -3,7 +3,8 @@ # pkg_dist_minipix_dist_all() { - local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name; + local _dist_pfx="${PREFIX_MINIPIX}" _bin_pname _lib_name _term \ + _term_letter; ex_rtl_fileop rm "${_dist_pfx}"; ex_rtl_fileop mkdir "${_dist_pfx}"; ex_rtl_fileop mkdir "${_dist_pfx}/bin"; @@ -15,6 +16,13 @@ pkg_dist_minipix_dist_all() { ex_rtl_fileop cp_follow \ "${PREFIX_NATIVE}/lib/${_lib_name}" "${_dist_pfx}/bin"; done; + for _term in putty putty-256color screen screen-256color xterm xterm-256color; do + _term_letter="${_term%${_term#[a-zA-Z]}}"; + ex_rtl_fileop mkdir "${_dist_pfx}/share/terminfo/${_term_letter}"; + ex_rtl_fileop cp_follow \ + "${PREFIX_NATIVE}/share/terminfo/${_term_letter}/${_term}" \ + "${_dist_pfx}/share/terminfo/${_term_letter}"; + done; tar -C "${PREFIX_NATIVE}/share" -cpf - terminfo |\ tar -C "${_dist_pfx}/bin" -xpf -; }; |