According to the below section, capital gains on the sale of assets are by a foreign resident are disregarded, unless the assets are taxable Australian property.
For shares it to be taxable Australian property you first need to have an interest of approximately 10% before considering the underlying holdings of the company.
Of course the above advice is of a general nature only and is intended to assist you in formulating questions to ask your accountant in obtaining specific advice for your specific circumstances.