aboutsummaryrefslogtreecommitdiff
path: root/libkipi
diff options
context:
space:
mode:
Diffstat (limited to 'libkipi')
-rwxr-xr-xlibkipi/libkipi.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkipi/libkipi.SlackBuild b/libkipi/libkipi.SlackBuild
index 7b7f6b9a..78fe1a19 100755
--- a/libkipi/libkipi.SlackBuild
+++ b/libkipi/libkipi.SlackBuild
@@ -18,9 +18,9 @@ fi
# o seu md5sum
SRC_ORIG="libkipi-0.1.4.tar.bz2"
MD5_ORIG="2d8b8da064b85b0e53a98b4a7510392e"
-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