Update makextract.sh

Support pkgng