diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-11 13:43:43 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-11 13:43:43 +0000 |
commit | 7497431ceb4548ecb44594c1291858e0acf7e413 (patch) | |
tree | 8737e431f46f6e288c546e494449e983e74ecca9 /kqemu/kqemu.SlackBuild | |
parent | 70168440722c7aeae75fed5a50725cef27054461 (diff) | |
download | slackbuilds-7497431ceb4548ecb44594c1291858e0acf7e413.tar.gz slackbuilds-7497431ceb4548ecb44594c1291858e0acf7e413.tar.bz2 |
pequenas alterações no formato
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@616 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'kqemu/kqemu.SlackBuild')
-rwxr-xr-x | kqemu/kqemu.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kqemu/kqemu.SlackBuild b/kqemu/kqemu.SlackBuild index 12e68027..8db6ea57 100755 --- a/kqemu/kqemu.SlackBuild +++ b/kqemu/kqemu.SlackBuild @@ -17,8 +17,11 @@ fi # o seu md5sum SRC_ORIG="kqemu-1.3.0pre9.tar.gz" MD5_ORIG="27888c3220844ad360a6a23345fa1bcb" -VERSION_ORIG="1.3.0" #`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/'` +# Correçar para VERSION pré... +VERSION_ORIG=`echo ${VERSION_ORIG/pre*}` # ------- Códigos de erro para o createpkg -------------- ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 @@ -27,7 +30,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 ERROR_PATCH=40; ERROR_VCS=41 # --------- Inicializa variáveis de entrada ------------- -PACKAGE=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'` +PACKAGE=$PACKAGE_ORIG ARCH=${ARCH:=i468} SRC_DIR=${SRC:=$CWD} if [ "$VERSION" != "" ]; then |