mirror of https://gitlab.com/basile.b/dexed.git
update deb and rpm scripts
This commit is contained in:
parent
d7a6ffe63d
commit
c77a538922
|
@ -1,6 +1,7 @@
|
||||||
ver=`cat version.txt`
|
ver=`cat version.txt`
|
||||||
ver=${ver:1:100}
|
ver=${ver:1:100}
|
||||||
dte=$(LC_TIME='en_EN.UTF-8' date -u +"%a %b %d %Y")
|
dte=$(LC_TIME='en_EN.UTF-8' date -u +"%a %b %d %Y")
|
||||||
|
cp_trgt=$(pwd)/output
|
||||||
|
|
||||||
arch=`uname -m`
|
arch=`uname -m`
|
||||||
if [ $arch = "x86_64" ]; then
|
if [ $arch = "x86_64" ]; then
|
||||||
|
@ -51,3 +52,5 @@ Description: IDE for the D programming language" > control
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
dpkg-deb --build $name
|
dpkg-deb --build $name
|
||||||
|
rm $HOME/$name -r -f
|
||||||
|
mv $HOME/$name.deb $cp_trgt/$name.deb
|
||||||
|
|
|
@ -4,6 +4,7 @@ ver=${ver:1:100}
|
||||||
dte=$(LC_TIME='en_EN.UTF-8' date -u +"%a %b %d %Y")
|
dte=$(LC_TIME='en_EN.UTF-8' date -u +"%a %b %d %Y")
|
||||||
arch=`uname -m`
|
arch=`uname -m`
|
||||||
specname=coedit-$arch.spec
|
specname=coedit-$arch.spec
|
||||||
|
cp_trgt=$(pwd)/output
|
||||||
|
|
||||||
semver_regex() {
|
semver_regex() {
|
||||||
local VERSION="([0-9]+)[.]([0-9]+)[.]([0-9]+)"
|
local VERSION="([0-9]+)[.]([0-9]+)[.]([0-9]+)"
|
||||||
|
@ -31,7 +32,8 @@ if [ $lbl == '_' ]; then
|
||||||
lbl='0'
|
lbl='0'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
buildroot=$HOME/rpmbuild/BUILDROOT/coedit-$maj.$min.$pch-$lbl.$arch
|
name_and_ver=coedit-$maj.$min.$pch-$lbl.$arch
|
||||||
|
buildroot=$HOME/rpmbuild/BUILDROOT/$name_and_ver
|
||||||
bindir=$buildroot/usr/bin
|
bindir=$buildroot/usr/bin
|
||||||
pixdir=$buildroot/usr/share/pixmaps
|
pixdir=$buildroot/usr/share/pixmaps
|
||||||
shcdir=$buildroot/usr/share/applications
|
shcdir=$buildroot/usr/share/applications
|
||||||
|
@ -80,3 +82,4 @@ Coedit is an IDE for the DMD D compiler.
|
||||||
">$specname
|
">$specname
|
||||||
|
|
||||||
rpmbuild -ba $specname
|
rpmbuild -ba $specname
|
||||||
|
mv $HOME/rpmbuild/RPMS/$arch/$name_and_ver.rpm $cp_trgt/$name_and_ver.rpm
|
||||||
|
|
|
@ -93,7 +93,7 @@ The text following the symbol is written to the input stream, with an implicit n
|
||||||
- **autoGetThreads**: Sets if the thread list is automatically updated when the execution breaks.
|
- **autoGetThreads**: Sets if the thread list is automatically updated when the execution breaks.
|
||||||
- **autoGetVariables**: Sets if the list of the local variables is automatically updated when the execution breaks.
|
- **autoGetVariables**: Sets if the list of the local variables is automatically updated when the execution breaks.
|
||||||
- **commandHistory**: Container that stores the custom GDB commands.
|
- **commandHistory**: Container that stores the custom GDB commands.
|
||||||
- **customEvalHistory**: Container that stores the custom expression that have been evaluated.
|
- **customEvalHistory**: Container that stores the custom expressions that have been evaluated.
|
||||||
- **ignoredSignals**: Sets the signals that won't break the execution.
|
- **ignoredSignals**: Sets the signals that won't break the execution.
|
||||||
- **keepRedirectedStream**: Sets if the files that contain the inferior I/O history are kept on the disk. These files stands in the target directory with the extensions _.inferiorin_ and _.inferiorout_.
|
- **keepRedirectedStream**: Sets if the files that contain the inferior I/O history are kept on the disk. These files stands in the target directory with the extensions _.inferiorin_ and _.inferiorout_.
|
||||||
- **shortcuts**: Allows to define a shortcut for each button in the toolbar.
|
- **shortcuts**: Allows to define a shortcut for each button in the toolbar.
|
||||||
|
|
Loading…
Reference in New Issue