diff options
Diffstat (limited to 'graphics/LDraw_data/LDraw_data.SlackBuild')
-rw-r--r-- | graphics/LDraw_data/LDraw_data.SlackBuild | 13 |
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 |