mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 18:38:30 +01:00
15 lines
199 B
Bash
15 lines
199 B
Bash
#!/bin/sh
|
|
|
|
mkdir sdrpp
|
|
|
|
# Copy files
|
|
ORIG_DIR=$PWD
|
|
cd $1
|
|
make install DESTDIR=$ORIG_DIR/sdrpp
|
|
cd $ORIG_DIR
|
|
|
|
# Create archive
|
|
productbuild --root sdrpp / sdrpp_macos_amd64.pkg
|
|
|
|
# Cleanup
|
|
rm -rf sdrpp/ |