diff --git a/xbps-src/shutils/pkgtarget_funcs.sh.in b/xbps-src/shutils/pkgtarget_funcs.sh.in index a745014aa1d..4f064603dbf 100644 --- a/xbps-src/shutils/pkgtarget_funcs.sh.in +++ b/xbps-src/shutils/pkgtarget_funcs.sh.in @@ -25,34 +25,6 @@ . ${XBPS_SHUTILSDIR}/tmpl_funcs.sh -strip_files() -{ - local lver - - if ! command -v strip 2>&1 >/dev/null; then - return 0 - fi - [ -n "$nostrip" ] && return 0 - - if [ -n "$revision" ]; then - lver="${version}_${revision}" - else - lver="${version}" - fi - - msg_normal "Package '$pkgname ($lver)': stripping files, please wait..." - for f in $(find ${DESTDIR} -type f); do - case "$(file -biz $f)" in - application/x-executable*) - strip $f && \ - echo " Stripped executable: $(basename $f)";; - application/x-sharedlib*|application/x-archive*) - strip -S $f && \ - echo " Stripped library: $(basename $f)";; - esac - done -} - # # Installs a pkg by reading its build template file. #