Update _pkg.bash

Start adding subfunction opts.