2021-12-30 11:20:19 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
TMP_FOLDER=/tmp/redpandaide
|
2022-01-01 09:47:07 +08:00
|
|
|
version=0.12.6
|
2021-12-30 11:20:19 +08:00
|
|
|
make install
|
|
|
|
mkdir $TMP_FOLDER
|
|
|
|
mkdir $TMP_FOLDER/DEBIAN
|
|
|
|
mkdir $TMP_FOLDER/opt
|
|
|
|
mkdir $TMP_FOLDER/usr
|
|
|
|
mkdir $TMP_FOLDER/usr/share
|
|
|
|
mkdir $TMP_FOLDER/usr/share/applications
|
|
|
|
|
|
|
|
cp packages/deb/control $TMP_FOLDER/DEBIAN
|
|
|
|
cp -r /opt/RedPandaIDE $TMP_FOLDER/opt
|
|
|
|
cp -r /opt/RedPandaIDE/*.desktop $TMP_FOLDER/usr/share/applications
|
|
|
|
|
|
|
|
dpkg-deb --build /tmp/redpandaide
|
|
|
|
|
2021-12-31 09:57:05 +08:00
|
|
|
mv $TMP_FOLDER/../redpandaide.deb redpanda-ide-${version}_amd64.deb
|
2021-12-30 11:20:19 +08:00
|
|
|
|
2021-12-31 17:14:07 +08:00
|
|
|
rm -rf $TMP_FOLDER
|
|
|
|
|