def pkgbuild_arrstr_to_list(s):
    """ Remove any redundant whitespace, quotes, and return a list """
    s = s.replace("'", '')
    s = s.replace('"', '')
    s = s.replace('\t', ' ')
    s = s.replace('\n', ' ')
    while '  ' in s:
        s = s.replace('  ', ' ')
    return s.split(' ')
