Skip to content

Commit

Permalink
Reparados fpc , lazarus , qtractor y openshot
Browse files Browse the repository at this point in the history
  • Loading branch information
wifislax-ng committed Feb 19, 2016
1 parent 2a5201f commit 5fa1e7b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
11 changes: 6 additions & 5 deletions Desarrollo/fpc_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20160211
SCRIPT_VERSION=20160219

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -19,19 +19,20 @@ F_variables() {
PRGNAM=fpc
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://sourceforge.net/projects/freepascal/files/Linux/
VERSION=$(curl -s $WEB/ | grep -m1 "class=\"folder" | awk '{print $2}' | cut -d "\"" -f 2)
DOWNLOAD=$(curl -s $WEB/$VERSION/ | grep "class=\"file " | awk '{print $2}' | cut -d "\"" -f 2 | awk '{print $1}' | grep "i386")
#VERSION=$(curl -s $WEB/ | grep -m1 "class=\"folder" | awk '{print $2}' | cut -d "\"" -f 2)
VERSION=2.6.4
DOWNLOAD=http://downloads.sourceforge.net/freepascal/${PRGNAM}-$VERSION.i386-linux.tar
DOWNLOAD2=https://downloads.sourceforge.net/freepascal/${PRGNAM}build-$VERSION.tar.gz
DOWNLOAD3=https://downloads.sourceforge.net/project/freepascal/Source/$VERSION/$PRGNAM-$VERSION.source.tar.gz
}

# Si el paquete no existe se descargara de internet
F_download(){
if [ ! -f $DOWNLOAD ]; then
if [ ! -f ${PRGNAM}-$VERSION.i386-linux.tar ]; then
echo
echo "$CYAN"Descargando sources de $PRGNAM-$VERSION"$CIERRE"
sleep 2
aria2c -x 3 $WEB/$VERSION/$DOWNLOAD
aria2c -x 3 $DOWNLOAD
fi
if [ ! -f ${PRGNAM}build-$VERSION.tar.gz ]; then
echo
Expand Down
11 changes: 6 additions & 5 deletions Desarrollo/lazarus_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151102
SCRIPT_VERSION=20160219

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -18,11 +18,12 @@ f_variables(){
F_variables() {
PRGNAM=lazarus
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=ftp://freepascal.dfmk.hu/pub/lazarus/releases/Lazarus%20Zip%20_%20GZip/
VERSION=`curl -s $WEB | grep -v RC | grep Lazarus | tail -1 |rev|cut -d ' ' -f1|rev`
WEB=https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/
RAMA=$(curl -s $WEB | grep -m1 "class=\"folder"|sed 's/ //g'|cut -d '"' -f2|sed 's/Lazarus//g')
VERSION=`curl -s ${WEB}Lazarus%20${RAMA}/|grep tar.gz|head -1|cut -d- -f2|sed 's/ //g'`
EXTENSION=tar.gz
SOURCES=$PRGNAM-$VERSION-0.$EXTENSION
DOWNLOAD=http://downloads.sourceforge.net/$PRGNAM/$SOURCES
DOWNLOAD="https://sourceforge.net/projects/$PRGNAM/files/Lazarus%20Zip%20_%20GZip/Lazarus%201.6/$SOURCES"
}

# Comprobar dependencias
Expand Down Expand Up @@ -96,4 +97,4 @@ F_compilar
#Hacemos strip sobre el paquete
f_strip
#Creamos xzm , instalamos y salimos
f_tareasFinales
f_tareasFinales
5 changes: 3 additions & 2 deletions Multimedia/openshot_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151024
SCRIPT_VERSION=20160219
CATEGORIA="Editores de video"

############################################################
Expand All @@ -18,7 +18,8 @@ f_variables(){
# Definicion de variables
F_variables() {
WEB=http://www.openshot.org/download/
VERSION=`curl -s $WEB | grep Version | head -1 | cut -d ">" -f2 | cut -d "<" -f-1 | sed "s/ //g"`
#VERSION=`curl -s $WEB | grep Version | head -1 | cut -d ">" -f2 | cut -d "<" -f-1 | sed "s/ //g"`
VERSION=1.4.3
RAMA=`echo $VERSION | cut -d "." -f-2`
PRGNAM=openshot
echo -ne "\033]2;${PRGNAM}_updater\007"
Expand Down
10 changes: 6 additions & 4 deletions Multimedia/qtractor_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20160211
SCRIPT_VERSION=20160219
CATEGORIA="Editores de audio"

############################################################
Expand All @@ -19,11 +19,13 @@ f_variables(){
F_variables() {
PRGNAM=qtractor
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://sourceforge.net/projects/$PRGNAM/files/$PRGNAM/
VERSION=`curl -s $WEB| grep [0-9]/$PRGNAM|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'`
#WEB=https://sourceforge.net/projects/$PRGNAM/files/$PRGNAM/
WEB=https://sourceforge.net/projects/qtractor/files/qtractor%20%28attic%29
#VERSION=`curl -s $WEB| grep [0-9]/$PRGNAM|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'`
VERSION=0.7.1
EXTENSION=tar.gz
SOURCES=$PRGNAM-$VERSION.$EXTENSION
DOWNLOAD=${WEB}${VERSION}/$SOURCES
DOWNLOAD=${WEB}/$SOURCES
}

# Descomprimimos el fichero descargado y compilamos
Expand Down

0 comments on commit 5fa1e7b

Please sign in to comment.