-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make self create i-nex.run file to install using command: sudo i-nex.run i-nex.run no need gambas3 libaries installed on system. make self automatic detect architecture and download gambas deb packages, extract using ar and auto create using makeself.sh selfextract archive and automatically install.
- Loading branch information
Showing
8 changed files
with
1,255 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
#!/bin/bash | ||
URL_DOWN="http://ppa.launchpad.net/nemh/gambas3/ubuntu/pool/main/g/gambas3/" | ||
wget -c $URL_DOWN | ||
ARCHITECTURE=$(dpkg --print-architecture) | ||
GB3_GB_IMAGE=$(cat ./index.html | egrep gambas3-gb-image_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_GTK=$(cat ./index.html | egrep gambas3-gb-gtk_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_FORM=$(cat ./index.html | egrep gambas3-gb-form_ | egrep all.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_DESKTOP=$(cat ./index.html | egrep gambas3-gb-desktop_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_FORM_DIALOG=$(cat ./index.html | egrep gambas3-gb-form-dialog_ | egrep all.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_SETTINGS=$(cat ./index.html | egrep gambas3-gb-settings_ | egrep all.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_FORM_STOCK=$(cat ./index.html | egrep gambas3-gb-form-stock_ | egrep all.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_RUNTIME=$(cat ./index.html | egrep gambas3-runtime_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_GUI=$(cat ./index.html | egrep gambas3-gb-gui_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
GB3_GB_QT4=$(cat ./index.html | egrep gambas3-gb-qt4_ | egrep $ARCHITECTURE.deb | sed -n '1p' | awk {'print $6'} | cut -d ">" -f 2 | cut -d '<' -f 1) | ||
|
||
wget -c "$URL_DOWN$GB3_GB_IMAGE" | ||
wget -c "$URL_DOWN$GB3_GB_GTK" | ||
wget -c "$URL_DOWN$GB3_GB_FORM" | ||
wget -c "$URL_DOWN$GB3_GB_DESKTOP" | ||
wget -c "$URL_DOWN$GB3_GB_FORM_DIALOG" | ||
wget -c "$URL_DOWN$GB3_GB_SETTINGS" | ||
wget -c "$URL_DOWN$GB3_GB_FORM_STOCK" | ||
wget -c "$URL_DOWN$GB3_RUNTIME" | ||
wget -c "$URL_DOWN$GB3_GB_GUI" | ||
wget -c "$URL_DOWN$GB3_GB_QT4" | ||
|
||
echo $GB3_GB_IMAGE | ||
echo $GB3_GB_GTK | ||
echo $GB3_GB_FORM | ||
echo $GB3_GB_DESKTOP | ||
echo $GB3_GB_FORM_DIALOG | ||
echo $GB3_GB_SETTINGS | ||
echo $GB3_GB_FORM_STOCK | ||
echo $GB3_RUNTIME | ||
echo $GB3_GB_GUI | ||
echo $GB3_GB_QT4 | ||
|
||
ar x $GB3_GB_IMAGE | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_GTK | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_FORM | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_DESKTOP | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_FORM_DIALOG | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_SETTINGS | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_FORM_STOCK | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_RUNTIME | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_GUI | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
ar x $GB3_GB_QT4 | ||
tar -zxvf data.tar.gz -C ./ | ||
rm data.tar.gz control.tar.gz debian-binary | ||
|
||
make | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.