diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-11 12:40:05 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-11 12:40:05 +0000 |
commit | 03471080ce7ce2d2f5596adb7ae4eb8bb6277c79 (patch) | |
tree | 2d140328adcc8c48e0d6128ea3497a98a8bbaea2 /media/gfx/digikam/digikam.SlackBuild | |
parent | df5a33309f56548761d45feef0e537708c069e19 (diff) | |
download | slackbuilds-03471080ce7ce2d2f5596adb7ae4eb8bb6277c79.tar.gz slackbuilds-03471080ce7ce2d2f5596adb7ae4eb8bb6277c79.tar.bz2 |
Atualizações de versão...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1016 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/gfx/digikam/digikam.SlackBuild')
-rwxr-xr-x | media/gfx/digikam/digikam.SlackBuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/media/gfx/digikam/digikam.SlackBuild b/media/gfx/digikam/digikam.SlackBuild index 00d74dbd..8486162c 100755 --- a/media/gfx/digikam/digikam.SlackBuild +++ b/media/gfx/digikam/digikam.SlackBuild @@ -16,12 +16,11 @@ fi # -------- Variáveis de controle de versão -------------- # Nome da fonte para a qual o slackbuild foi construído e # o seu md5sum -SRC_ORIG="digikam-0.9.0-beta3.tar.bz2" -MD5_ORIG="4b6ecbe86ba258818b56257dbc851560" -PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-(.*)\.(.*\..*)$/\1/'` -VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-(.*)\.(.*\..*)$/\2/'` - REVISION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-(.*)\.(.*\..*)$/\3/'` - EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)-(.*)\.(.*\..*)$/\4/'` +SRC_ORIG="digikam-0.9.0.tar.bz2" +#MD5_ORIG="" +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/'` # ------- Códigos de erro para o createpkg -------------- ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 @@ -39,14 +38,14 @@ if [ "$VERSION" != "" ]; then else VERSION=$VERSION_ORIG fi -SRC=$PACKAGE-$VERSION-$REVISION.$EXTENSION +SRC=$PACKAGE-$VERSION.$EXTENSION BUILD=${BUILD:=1rud} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/opt/kde} OPTCONF=${OPTCONF:=""} MD5=${MD5:=$MD5_ORIG} -URL=${URL:="http://ufpr.dl.sourceforge.net/sourceforge/digikam/$SRC"} +URL=${URL:="http://superb-west.dl.sourceforge.net/sourceforge/digikam/$SRC"} # ---------------- Download fontes ---------------------- # Fonte a ser compilada, com o path @@ -57,10 +56,10 @@ if [ ! -e $SOURCE ]; then fi # ------------------ Checa md5sum ----------------------- -if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then - SUM=`md5sum $SOURCE | awk '{print $1}'` - [ "$SUM" != "$MD5" ] && exit $ERROR_MD5 -fi +#if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then +# SUM=`md5sum $SOURCE | awk '{print $1}'` +# [ "$SUM" != "$MD5" ] && exit $ERROR_MD5 +#fi # ----------------- ARCH e LIBDIR ----------------------- # Libdir, para arch x86_64 |