graphics/VariCAD: Updated for version 2010_3.03.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Niels Horn 2010-12-25 23:19:34 -06:00 committed by Niels Horn
parent 54d314e030
commit 05170d17e4
4 changed files with 19 additions and 24 deletions

View File

@ -1,7 +1,11 @@
VariCAD is a 3D/2D CAD system primarily intended for mechanical engineering
design.
This installs the trial-version. A license-key must be obtained to use the
This builds the trial-version. A license-key must be obtained to use the
program after the 30-day trial period.
This script builds a Slackware package from the official RPM's.
This script builds a Slackware package from the official English-language
RPM's. Other languages are available from VariCAD's download page.
To build the Portuguese version, for example, use:
# VCLANG=pt ./VariCAD.SlackBuild

View File

@ -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}

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=VariCAD
Comment=CAD system for mechanical engineering
Categories=Graphics;
Exec=varicad
Icon=varicad
Terminal=false
StartupNotify=false

View File

@ -1,10 +1,10 @@
PRGNAM="VariCAD"
VERSION="2010_3.00"
VERSION="2010_3.03"
HOMEPAGE="http://www.varicad.com"
DOWNLOAD="http://www.varicad.com/userdata/files/release/en/VariCAD_2010-en-3.00-1.i586.rpm"
MD5SUM="924490e60abab30b16068e7358e767c8"
DOWNLOAD_x86_64="http://www.varicad.com/userdata/files/release/en/VariCAD_2010-en-3.00-1.x86_64.rpm"
MD5SUM_x86_64="5c0d146404c5999585cbb6c222f67be1"
DOWNLOAD="http://www.varicad.com/userdata/files/release/en/VariCAD_2010-en-3.03-1.i586.rpm"
MD5SUM="72742ee946e2dcd2b8cb9328fa2317ca "
DOWNLOAD_x86_64="http://www.varicad.com/userdata/files/release/en/VariCAD_2010-en-3.03-1.x86_64.rpm"
MD5SUM_x86_64="1aa1d5bfc4fbf96b62a40dbc3e73f440"
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
APPROVED="dsomero"
APPROVED="rworkman"