diff options
Diffstat (limited to 'exiv2/exiv2.SlackBuild')
-rwxr-xr-x | exiv2/exiv2.SlackBuild | 6 |
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 |