mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +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/ |