RedPanda-CPP/packages/debian/builddeb.sh

23 lines
505 B
Bash
Raw Normal View History

2022-01-06 16:24:03 +08:00
#!/bin/sh
2022-01-06 16:32:09 +08:00
make distclean
2022-01-06 16:24:03 +08:00
TMP_FOLDER=/tmp/redpandaide
2022-01-18 22:38:27 +08:00
test -n $TMP_FOLDER | rm -rf $TMP_FOLDER
test -z $TMP_FOLDER | mkdir $TMP_FOLDER
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
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
sed -i '/CONFIG += ENABLE_LUA_ADDON/ { s/^#\s*// }' RedPandaIDE/RedPandaIDE.pro
2022-01-06 16:24:03 +08:00
dpkg-buildpackage -us -uc