diff options
Diffstat (limited to 'k9cp/k9copy/k9copy.SlackBuild')
-rwxr-xr-x | k9cp/k9copy/k9copy.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/k9cp/k9copy/k9copy.SlackBuild b/k9cp/k9copy/k9copy.SlackBuild index a804695f..898d9725 100755 --- a/k9cp/k9copy/k9copy.SlackBuild +++ b/k9cp/k9copy/k9copy.SlackBuild @@ -18,10 +18,10 @@ fi # o seu md5sum SRC_ORIG="k9copy-1.0.4-2.tar.gz" MD5_ORIG="5b53658a12192c7832059b56daf23385" -PACKAGE_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)-\(.\)\.\(.*\..*\)$/\1/'` -VERSION_ORIG=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)-\(.\)\.\(.*\..*\)$/\2/'` -REVISION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)-\(.\)\.\(.*\..*\)$/\3/'` -EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)-\(.\)\.\(.*\..*\)$/\4/'` +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/'` # ------- Códigos de erro para o createpkg -------------- ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 |