SDRPlusPlus/make_macos_package.sh

15 wiersze
199 B
Bash
Czysty Zwykły widok Historia

2021-04-30 17:23:43 +00:00
#!/bin/sh
2021-04-30 18:10:29 +00:00
mkdir sdrpp
2021-04-30 17:23:43 +00:00
# Copy files
ORIG_DIR=$PWD
cd $1
2021-04-30 18:10:29 +00:00
make install DESTDIR=$ORIG_DIR/sdrpp
2021-04-30 17:23:43 +00:00
cd $ORIG_DIR
# Create archive
2021-04-30 18:10:29 +00:00
productbuild --root sdrpp / sdrpp_macos_amd64.pkg
2021-04-30 17:23:43 +00:00
# Cleanup
2021-04-30 18:10:29 +00:00
rm -rf sdrpp/