diff options
Diffstat (limited to 'media/gfx')
-rwxr-xr-x | media/gfx/digikam/digikam.SlackBuild | 23 | ||||
-rwxr-xr-x | media/gfx/exiv2/exiv2.SlackBuild | 6 |
2 files changed, 14 insertions, 15 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 diff --git a/media/gfx/exiv2/exiv2.SlackBuild b/media/gfx/exiv2/exiv2.SlackBuild index 6f563b85..d0d781df 100755 --- a/media/gfx/exiv2/exiv2.SlackBuild +++ b/media/gfx/exiv2/exiv2.SlackBuild @@ -2,7 +2,7 @@ # # slackbuild for exiv2, by Rudson R. Alves # requires: none -# tested: exiv2-0.11 +# tested: exiv2-0.12 CWD=`pwd` @@ -16,8 +16,8 @@ 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="exiv2-0.11.tar.gz" -MD5_ORIG="269ce822946c56549d086f0c08dffc79" +SRC_ORIG="exiv2-0.12.tar.gz" +MD5_ORIG="a97a4e489df7ec99458e3e33b506c3e6" 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/'` |