diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-12-25 23:19:34 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2010-12-27 20:06:57 -0200 |
commit | 05170d17e4f3208bd6f9e324af6f92f9309180de (patch) | |
tree | 843c4ed2daeb17c7f8b4749f14d1cf4c8dcbbf4a /graphics/VariCAD/VariCAD.SlackBuild | |
parent | 54d314e030a2c7244ca4955c7c26f5903d20b6ed (diff) |
graphics/VariCAD: Updated for version 2010_3.03.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/VariCAD/VariCAD.SlackBuild')
-rw-r--r-- | graphics/VariCAD/VariCAD.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild index 89d965b495a9e..72f3468925128 100644 --- a/graphics/VariCAD/VariCAD.SlackBuild +++ b/graphics/VariCAD/VariCAD.SlackBuild @@ -5,18 +5,19 @@ # Written by Niels Horn <niels.horn@gmail.com> # with inspiration from the OpenOffice.org SlackBuild, so thanks to Robby Workman :) -# Revision date: 2010/09/07 +# Revision date: 2010/12/04 PRGNAM=VariCAD -VERSION=${VERSION:-2010_3.00} +VERSION=${VERSION:-2010_3.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# I haven't tested this, but there are other languages available for VariCAD -SRCLANG=en +# Set language +SRCLANG=${VCLANG:-en} -# The versioning of the 'source' RPM is a bit different: +# Set version of 'source' and package SRCVERSION=$(echo $VERSION | sed "s/_/-$SRCLANG-/") +PKGVERSION="${VERSION}_$SRCLANG" case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -69,4 +70,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh chmod a+w $PKG/opt/$PRGNAM/lib cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} |