diff options
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 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} |