2024-04-27 10:22:53 +08:00
|
|
|
#!/bin/bash
|
2022-01-06 16:24:03 +08:00
|
|
|
|
2024-04-27 10:22:53 +08:00
|
|
|
set -xeuo pipefail
|
2022-01-06 16:32:09 +08:00
|
|
|
|
2022-01-06 16:24:03 +08:00
|
|
|
TMP_FOLDER=/tmp/redpandaide
|
2024-04-27 10:22:53 +08:00
|
|
|
[[ -d $TMP_FOLDER ]] && rm -rf $TMP_FOLDER
|
|
|
|
mkdir -p "$TMP_FOLDER"
|
2022-01-18 22:38:27 +08:00
|
|
|
|
2022-01-06 16:24:03 +08:00
|
|
|
cp -r packages/debian $TMP_FOLDER
|
2022-09-26 15:10:31 +08:00
|
|
|
cp -r tools $TMP_FOLDER
|
|
|
|
cp -r libs $TMP_FOLDER
|
2022-01-06 16:24:03 +08:00
|
|
|
cp -r RedPandaIDE $TMP_FOLDER
|
|
|
|
cp README.md $TMP_FOLDER
|
|
|
|
cp LICENSE $TMP_FOLDER
|
|
|
|
cp NEWS.md $TMP_FOLDER
|
2024-03-07 17:57:22 +08:00
|
|
|
cp version.inc $TMP_FOLDER
|
2022-09-26 15:20:13 +08:00
|
|
|
cp -r platform $TMP_FOLDER
|
2022-01-06 16:24:03 +08:00
|
|
|
cp Red_Panda_CPP.pro $TMP_FOLDER
|
|
|
|
|
|
|
|
cd $TMP_FOLDER
|
2024-04-27 10:22:53 +08:00
|
|
|
command -v mk-build-deps && mk-build-deps -i -t "apt -y --no-install-recommends" debian/control
|
2024-02-19 18:24:29 +08:00
|
|
|
sed -i '/CONFIG += ENABLE_LUA_ADDON/ { s/^#\s*// }' RedPandaIDE/RedPandaIDE.pro
|
2022-01-06 16:24:03 +08:00
|
|
|
dpkg-buildpackage -us -uc
|