debian package script
This commit is contained in:
parent
37e40824bf
commit
e4f205cdb4
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
TMP_FOLDER=/tmp/redpandaide
|
||||||
|
version=0.12.5
|
||||||
|
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
|
||||||
|
|
||||||
|
mv $TMP_FOLDER/../redpandaide.deb redpana-ide-${version}_amd64.deb
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
Package: RedPanda-IDE
|
||||||
|
Version: 0.12.5
|
||||||
|
Section: devel
|
||||||
|
Priority: optional
|
||||||
|
Architecture: amd64
|
||||||
|
Essential: no
|
||||||
|
Maintainer: royqh1979@gmail.com
|
||||||
|
Description: Red Panda Dev-C++ 7. A QT-based lightweighted C/C++ editor
|
||||||
|
Depends: gcc, g++, gdb, gdbserver
|
Loading…
Reference in New Issue