In /usr/bin/pkgkde-debs2symbols line 21:
    local _dirname
    ^------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/pkgkde-debs2symbols line 22:
    _dirname="`dirname "$0"`"
              ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
    _dirname="$(dirname "$0")"


In /usr/bin/pkgkde-debs2symbols line 24:
        . "$_dirname/datalib/shell_common"
          ^-- SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/pkgkde-debs2symbols line 26:
        . /usr/share/pkg-kde-tools/lib/shell_common
          ^-- SC1091: Not following: /usr/share/pkg-kde-tools/lib/shell_common was not specified as input (see shellcheck -x).


In /usr/bin/pkgkde-debs2symbols line 36:
    local debdir
    ^----------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/pkgkde-debs2symbols line 45:
    local deb tmpdir outdir
    ^---------------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/pkgkde-debs2symbols line 46:
    local arch package version outfile
    ^-- SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/pkgkde-debs2symbols line 52:
    info2 "Extracting `basename $deb` ..."
                      ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    info2 "Extracting $(basename "$deb") ..."


In /usr/bin/pkgkde-debs2symbols line 58:
    local tmpdir outdir reffile
    ^-------------------------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/pkgkde-debs2symbols line 59:
    local arch package version outfile outpatch
    ^-- SC2039: In POSIX sh, 'local' is undefined.
                                       ^------^ SC2034: outpatch appears unused. Verify use (or export if used externally).


In /usr/bin/pkgkde-debs2symbols line 104:
shift `expr $OPTIND - 1`
      ^----------------^ SC2046: Quote this to prevent word splitting.
      ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
       ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].

Did you mean: 
shift $(expr $OPTIND - 1)


In /usr/bin/pkgkde-debs2symbols line 136:
    tmpdir=`mktemp -d --tmpdir=. tmpdeb.XXXXXX`
           ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
    tmpdir=$(mktemp -d --tmpdir=. tmpdeb.XXXXXX)


In /usr/bin/pkgkde-debs2symbols line 144:
    for deb in `ls -1 "$debdir"/$DEB_WILDCARD 2>/dev/null | sort`; do
               ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
                ^-- SC2012: Use find instead of ls to better handle non-alphanumeric filenames.
                                ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    for deb in $(ls -1 "$debdir"/"$DEB_WILDCARD" 2>/dev/null | sort); do


In /usr/bin/pkgkde-debs2symbols line 149:
        c=$(($c+1))
             ^-- SC2004: $/${} is unnecessary on arithmetic variables.

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source....
  https://www.shellcheck.net/wiki/SC2034 -- outpatch appears unused. Verify u...
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.