aboutsummaryrefslogtreecommitdiff
path: root/kile/kile.SlackBuild
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-11 13:43:43 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-11 13:43:43 +0000
commit7497431ceb4548ecb44594c1291858e0acf7e413 (patch)
tree8737e431f46f6e288c546e494449e983e74ecca9 /kile/kile.SlackBuild
parent70168440722c7aeae75fed5a50725cef27054461 (diff)
downloadslackbuilds-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 'kile/kile.SlackBuild')
-rwxr-xr-xkile/kile.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/kile/kile.SlackBuild b/kile/kile.SlackBuild
index 6bc2c481..79e1199d 100755
--- a/kile/kile.SlackBuild
+++ b/kile/kile.SlackBuild
@@ -18,8 +18,9 @@ fi
# o seu md5sum
SRC_ORIG="kile-1.9.2.tar.bz2"
MD5_ORIG="2f4fa752595c9011fd9292d7ff99d124"
-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
@@ -28,7 +29,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}
VERSION=${VERSION:=$VERSION_ORIG}