forked from mruby-zest/mruby-zest-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linux-pack.sh
executable file
·30 lines (28 loc) · 1.41 KB
/
linux-pack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
ZYN_FUSION_VERSION=$1
#to be run as root
rm -r /opt/zyn-fusion
mkdir /opt/zyn-fusion
chown mark:users /opt/zyn-fusion
echo "Version $ZYN_FUSION_VERSION" >> /opt/zyn-fusion/VERSION
echo "Build on" >> /opt/zyn-fusion/VERSION
echo `date` >> /opt/zyn-fusion/VERSION
cp -a /usr/lib/lv2/ZynAddSubFX.lv2presets /opt/zyn-fusion/
cp -a /home/mark/zynaddsubfx/instruments/banks /opt/zyn-fusion/
cp ./package/libzest.so /opt/zyn-fusion/
cp ./package/zest /opt/zyn-fusion/zyn-fusion
cp -a ./package/font /opt/zyn-fusion/
mkdir /opt/zyn-fusion/qml
touch /opt/zyn-fusion/qml/MainWindow.qml
cp -a ./package/schema /opt/zyn-fusion/
mkdir /opt/zyn-fusion/ZynAddSubFX.lv2
cp /home/mark/zynaddsubfx/build/src/Plugin/ZynAddSubFX/lv2/* /opt/zyn-fusion/ZynAddSubFX.lv2/
cp /home/mark/zynaddsubfx/build/src/Plugin/ZynAddSubFX/vst/ZynAddSubFX.so /opt/zyn-fusion/
cp /home/mark/zynaddsubfx/build/src/zynaddsubfx /opt/zyn-fusion/
cp ./install-linux.sh /opt/zyn-fusion/
cp ./package-README.txt /opt/zyn-fusion/README.txt
cp /home/mark/zynaddsubfx/COPYING /opt/zyn-fusion/COPYING.zynaddsubfx
cd /opt/
rm -f zyn-fusion-${ZYN_FUSION_VERSION}.tar zyn-fusion-${ZYN_FUSION_VERSION}.tar.bz2
tar cf zyn-fusion-${ZYN_FUSION_VERSION}.tar ./zyn-fusion
bzip2 zyn-fusion-${ZYN_FUSION_VERSION}.tar