diff options
Diffstat (limited to 'graphics/VariCAD')
-rw-r--r-- | graphics/VariCAD/README | 8 | ||||
-rw-r--r-- | graphics/VariCAD/VariCAD.SlackBuild | 13 | ||||
-rw-r--r-- | graphics/VariCAD/VariCAD.desktop | 10 | ||||
-rw-r--r-- | graphics/VariCAD/VariCAD.info | 12 |
4 files changed, 19 insertions, 24 deletions
diff --git a/graphics/VariCAD/README b/graphics/VariCAD/README index cca3a9c9be..abd7108128 100644 --- a/graphics/VariCAD/README +++ b/graphics/VariCAD/README @@ -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 diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild index 89d965b495..72f3468925 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} diff --git a/graphics/VariCAD/VariCAD.desktop b/graphics/VariCAD/VariCAD.desktop deleted file mode 100644 index cbca039fb4..0000000000 --- a/graphics/VariCAD/VariCAD.desktop +++ /dev/null @@ -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 diff --git a/graphics/VariCAD/VariCAD.info b/graphics/VariCAD/VariCAD.info index 136fa6dfef..9ad6ee8f07 100644 --- a/graphics/VariCAD/VariCAD.info +++ b/graphics/VariCAD/VariCAD.info @@ -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" |