From 48b30c49a23854390cbe1dfbb0f3c48317da876e Mon Sep 17 00:00:00 2001 From: rudson Date: Fri, 27 Oct 2006 02:01:07 +0000 Subject: últimas correções do broffice e kqemu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@535 370017ae-e619-0410-ac65-c121f96126d4 --- broffice/broffice.SlackBuild | 4 ++-- kqemu/kqemu.SlackBuild | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/broffice/broffice.SlackBuild b/broffice/broffice.SlackBuild index 2f62acaa..dcdf245a 100755 --- a/broffice/broffice.SlackBuild +++ b/broffice/broffice.SlackBuild @@ -64,7 +64,7 @@ fi # ---------------- Download fontes ---------------------- # Fonte a ser compilada, com o path -SOURCE=$SRC_DIR/$SRC +SOURCE=$SRC_DIR/$PACKAGE/$SRC mkdir -p $SRC_DIR/$PACKAGE 2>/dev/null # Verifica existência do pacote em $SRC em $SRC_DIR if [ ! -e $SOURCE ]; then @@ -79,7 +79,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 708ce5b7..17979e85 100755 --- a/kqemu/kqemu.SlackBuild +++ b/kqemu/kqemu.SlackBuild @@ -68,12 +68,12 @@ fi # ---------------- Download fontes ---------------------- # Fonte a ser compilada, com o path -SOURCE=$SRC_DIR/$SRC +SOURCE=$SRC_DIR/qemu/$SRC mkdir -p $SRC_DIR/qemu 2>/dev/null # 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/qemu" + wget "$URL" -P "$SRC_DIR/qemu/" # 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 +83,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" -- cgit v1.2.3