aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkile/kile.SlackBuild6
-rwxr-xr-xkqemu/kqemu.SlackBuild3
-rwxr-xr-xlame/lame.SlackBuild7
-rwxr-xr-xqemu/qemu.SlackBuild6
-rwxr-xr-xscilab/scilab.SlackBuild6
-rwxr-xr-xskype/skype.SlackBuild6
6 files changed, 17 insertions, 17 deletions
diff --git a/kile/kile.SlackBuild b/kile/kile.SlackBuild
index 576e1e68..dde5a4ea 100755
--- a/kile/kile.SlackBuild
+++ b/kile/kile.SlackBuild
@@ -64,11 +64,11 @@ fi
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKGE/$SRC
# Verifica existência do pacote em $SRC em $SRC_DIR
if [ ! -e $SOURCE ]; then
echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
- wget "$URL" -P "$SRC_DIR/"
+ wget "$URL" -P "$SRC_DIR/$PACKAGE"
# Verifica se o
if [ $? -ne 0 ]; then
echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
# ------------------ Checa md5sum -----------------------
if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
- SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+ SUM=`md5sum $SOURCE | awk '{print $1}'`
if [ "$SUM" != "$MD5" ]; then
echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
diff --git a/kqemu/kqemu.SlackBuild b/kqemu/kqemu.SlackBuild
index 17979e85..539f115a 100755
--- a/kqemu/kqemu.SlackBuild
+++ b/kqemu/kqemu.SlackBuild
@@ -23,7 +23,8 @@ EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\3/'`
# ------- Códigos de erro para o createpkg --------------
ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38
+ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
+ERROR_PATCH=40; ERROR_VCS=41
# --------- Inicializa variáveis de entrada -------------
PACKAGE=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
diff --git a/lame/lame.SlackBuild b/lame/lame.SlackBuild
index 9dc8e8d6..ef351e79 100755
--- a/lame/lame.SlackBuild
+++ b/lame/lame.SlackBuild
@@ -26,7 +26,6 @@ ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41
-
# --------- Inicializa variáveis de entrada -------------
PACKAGE=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
ARCH=${ARCH:=i468}
@@ -69,11 +68,11 @@ fi
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
# Verifica existência do pacote $SRC em $SRC_DIR
if [ ! -e $SOURCE ]; then
echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
- wget "$URL" -P "$SRC_DIR/"
+ wget "$URL" -P "$SRC_DIR/$PACKAGE/"
# Verifica se o
if [ $? -ne 0 ]; then
echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -83,7 +82,7 @@ fi
# ------------------ Checa md5sum -----------------------
if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
- SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+ SUM=`md5sum $SOURCE | awk '{print $1}'`
if [ "$SUM" != "$MD5" ]; then
echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
diff --git a/qemu/qemu.SlackBuild b/qemu/qemu.SlackBuild
index b1bdc70f..4805a63f 100755
--- a/qemu/qemu.SlackBuild
+++ b/qemu/qemu.SlackBuild
@@ -64,11 +64,11 @@ fi
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
# Verifica existência do pacote em $SRC em $SRC_DIR
if [ ! -e $SOURCE ]; then
echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
- wget "$URL" -P "$SRC_DIR/"
+ wget "$URL" -P "$SRC_DIR/$PACKAGE/"
# Verifica se o
if [ $? -ne 0 ]; then
echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
# ------------------ Checa md5sum -----------------------
if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
- SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+ SUM=`md5sum $SOURCE | awk '{print $1}'`
if [ "$SUM" != "$MD5" ]; then
echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
diff --git a/scilab/scilab.SlackBuild b/scilab/scilab.SlackBuild
index a9aa78f9..4a374ff1 100755
--- a/scilab/scilab.SlackBuild
+++ b/scilab/scilab.SlackBuild
@@ -63,11 +63,11 @@ fi
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
# Verifica existência do pacote em $SRC em $SRC_DIR
if [ ! -e $SOURCE ]; then
echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
- wget "$URL" -P "$SRC_DIR/"
+ wget "$URL" -P "$SRC_DIR/$PACKAGE/"
# Verifica se o
if [ $? -ne 0 ]; then
echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -77,7 +77,7 @@ fi
# ------------------ Checa md5sum -----------------------
if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
- SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+ SUM=`md5sum $SOURCE | awk '{print $1}'`
if [ "$SUM" != "$MD5" ]; then
echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
diff --git a/skype/skype.SlackBuild b/skype/skype.SlackBuild
index ea787017..dcaa8f81 100755
--- a/skype/skype.SlackBuild
+++ b/skype/skype.SlackBuild
@@ -64,11 +64,11 @@ fi
# ---------------- Download fontes ----------------------
# Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
# Verifica existência do pacote em $SRC em $SRC_DIR
if [ ! -e $SOURCE ]; then
echo -e "\n\n\033[01;32m Download $SRC \n\033[m"
- wget "$URL" -P "$SRC_DIR/"
+ wget "$URL" -P "$SRC_DIR/$PACKAGE/"
# Verifica se o
if [ $? -ne 0 ]; then
echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
# ------------------ Checa md5sum -----------------------
if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
- SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+ SUM=`md5sum $SOURCE | awk '{print $1}'`
if [ "$SUM" != "$MD5" ]; then
echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"