summaryrefslogtreecommitdiff
path: root/graphics/LDraw_data/LDraw_data.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-07-22 18:11:10 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit2b046cf77187edf6ec265765dd7d9665f2fe3e49 (patch)
tree6648db01612eae5d0df8bc4ece3c8bda0c670b6f /graphics/LDraw_data/LDraw_data.SlackBuild
parent4b1779ae81fe9e2e5ec955e9591f6f79c7cb33be (diff)
downloadslackbuilds-2b046cf77187edf6ec265765dd7d9665f2fe3e49.tar.gz
graphics/LDraw_data: Updated for version 201002.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'graphics/LDraw_data/LDraw_data.SlackBuild')
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index b2b9c97301..ab4a5b4db0 100644
--- a/graphics/LDraw_data/LDraw_data.SlackBuild
+++ b/graphics/LDraw_data/LDraw_data.SlackBuild
@@ -4,10 +4,10 @@
# several LDraw utilities
# Written by Niels Horn - niels.horn@gmail.com
-# revision date 2010/04/15
+# revision date 2010/07/17
PRGNAM=LDraw_data
-VERSION=201001
+VERSION=${VERSION:-201002}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,13 @@ chmod 0775 $PKG/var/lib/ldraw/{models,bitmap}
chmod 0664 $PKG/var/lib/ldraw/models/*
# Create symlinks
-( cd $PKG/usr/share/LDRAW
+cd $PKG/usr/share/LDRAW
ln -s ../../../var/lib/ldraw/bitmap BITMAP ; ln -s BITMAP bitmap
ln -s ../../../var/lib/ldraw/models MODELS ; ln -s MODELS models
ln -s parts PARTS
ln -s s PARTS/S
ln -s p P
-)
+cd -
# Move documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -78,8 +78,9 @@ unzip -o mklist1_4.zip
make
# Run 'mklist' to generate "parts.lst"
-( cd $PKG/usr/share/LDRAW
- $TMP/$PRGUNZIPPED/mklist -d )
+cd $PKG/usr/share/LDRAW
+ $TMP/$PRGUNZIPPED/mklist -d
+cd -
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc