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