mkdir ./dstroot
install -m 755 ../bin/qpm ./dstroot/
pkgbuild --identifier io.qpm --root ./dstroot/ --install-location /opt/local/bin qpm.pkg
#!/usr/bin/env bash
mkdir ./dstroot
install -m 755 ../bin/qpm ./dstroot/
pkgbuild --identifier io.qpm --root ./dstroot/ --install-location /usr/local/bin qpm.pkg
Change the macx package install directory to /usr/local/bin
Change the macx package install directory to /usr/local/bin
