aboutsummaryrefslogtreecommitdiff
path: root/exiv2/exiv2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'exiv2/exiv2.SlackBuild')
-rwxr-xr-xexiv2/exiv2.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/exiv2/exiv2.SlackBuild b/exiv2/exiv2.SlackBuild
index 57e74f63..d6f3ff16 100755
--- a/exiv2/exiv2.SlackBuild
+++ b/exiv2/exiv2.SlackBuild
@@ -18,9 +18,9 @@ fi
# o seu md5sum
SRC_ORIG="exiv2-0.11.tar.gz"
MD5_ORIG="269ce822946c56549d086f0c08dffc79"
-PACKAGE_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
-VERSION_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\2/'`
-EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\3/'`
+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