#
# slackbuild for kile, by Rudson R. Alves
# requires: none
-# tested: kile-1.9.2
+# tested: kile-1.9.3
CWD=`pwd`
# -------- Variáveis de controle de versão --------------
# Nome da fonte para a qual o slackbuild foi construído e
# o seu md5sum
-SRC_ORIG="kile-1.9.2.tar.bz2"
-MD5_ORIG="2f4fa752595c9011fd9292d7ff99d124"
+SRC_ORIG="kile-1.9.3.tar.bz2"
+MD5_ORIG="0404b4be7bced7123111c49918130a1f"
PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\1/'`
VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\2/'`
EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\3/'`
#
# slackbuild for kile, by Rudson R. Alves
# requires: none
-# tested: broffice-2.0.4
+# tested: broffice-2.1.0
CWD=`pwd`
# -------- Variáveis de controle de versão --------------
# Nome da fonte para a qual o slackbuild foi construído e
# o seu md5sum
-SRC_ORIG="broffice.org.2.0.4.rpm.tar.bz2"
-MD5_ORIG="3b78ddd41c7f8da098ec36f78642613f"
+SRC_ORIG="broffice.org.2.1.0.rpm.tar.bz2"
+MD5_ORIG="32b8b50821d090392c1b28d8f4b4dba4"
PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)\.org\.(.*)\.rpm\.(.*)$/\1/'`
VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)\.org\.(.*)\.rpm\.(.*)$/\2/'`
EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)\.org\.(.*)\.rpm\.(.*)$/\3/'`
# --------- Inicializa variáveis de entrada -------------
PACKAGE=$PACKAGE_ORIG
-ARCH="i686"
+ARCH="i586"
SRC_DIR=${SRC:=$CWD}
VERSION=${VERSION:=$VERSION_ORIG}
SRC=$PACKAGE.org.$VERSION.rpm.$EXTENSION
# Instala arquivos em $PKG_VERSION
tar xvf $( ls *.tgz ) -C $PKG || exit $ERROR_TAR
cd ..
-j=1
+#j=1
for i in *.tgz; do
tar xvf $i -C $PKG || exit $ERROR_TAR
rm $i
- let j++
+# let j++
done
# Altera diretório do kde
cd $PKG/usr/bin
rm * 2>/dev/null
-# broffice.org-2.0
-cat << EOFBROFFICE > $PKG/usr/bin/broffice.org-2.0
+# broffice.org-2.1
+cat << EOFBROFFICE > $PKG/usr/bin/broffice.org-2.1
#!/bin/sh
-exec /opt/broffice.org2.0/program/soffice "$@"
+exec /opt/broffice.org2.1/program/soffice \$@
EOFBROFFICE
-# broffice.org-2.0-printeradmin
-cat << EOFBRADMIN > $PKG/usr/bin/broffice.org-2.0-printeradmin
+# broffice.org-2.1-printeradmin
+cat << EOFBRADMIN > $PKG/usr/bin/broffice.org-2.1-printeradmin
#!/bin/sh
-exec /opt/broffice.org2.0/program/spadmin
+exec /opt/broffice.org2.1/program/spadmin
EOFBRADMIN
chmod +x *
-ln -s ../../opt/broffice.org2.0/program/soffice soffice
+ln -s ../../opt/broffice.org2.1/program/soffice soffice
cd $PKG/usr/share/applications
rm *
-for i in $( ls ../../../opt/broffice.org2.0/share/xdg/* ); do
+for i in $( ls ../../../opt/broffice.org2.1/share/xdg/* ); do
NAME=$( echo $i | sed 's/.*xdg\/\(.*\.desktop\)$/\1/' )
ln -s $i $NAME
done
# ----------------- Stripa código -----------------------
cd $PKG
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+#find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+#find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# ---------------- Cria slack-desc ----------------------
mkdir $PKG/install
#
# slackbuild for lame, by Rudson R. Alves
# requires: none
-# tested: scilab-4.0
+# tested: scilab-4.1
CWD=`pwd`
# -------- Variáveis de controle de versão --------------
# Nome da fonte para a qual o slackbuild foi construído e
# o seu md5sum
-SRC_ORIG="scilab-4.0-src.tar.gz"
-MD5_ORIG="26e1c1480453bb1021bcea3ac412ad19"
+SRC_ORIG="scilab-4.1-src.tar.gz"
+MD5_ORIG="3003fe63088558b931a11127fb8d8ccc"
PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-src\.(.*\..*)$/\1/'`
VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-src\.(.*\..*)$/\2/'`
EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-src\.(.*\..*)$/\3/'`
PREFIX=${PREFIX:=/usr}
OPTCONF=${OPTCONF:=""}
MD5=${MD5:=$MD5_ORIG}
-URL=${URL:="http://www.scilab.org/download/stable/$SRC"}
+URL=${URL:="http://www.scilab.org/download/4.1/$SRC"}
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path