calc_pkg_arsh
