lib/pkg.sh