summaryrefslogtreecommitdiff
path: root/graphics/leocad_pieces/leocad_pieces.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/leocad_pieces/leocad_pieces.SlackBuild')
-rw-r--r--graphics/leocad_pieces/leocad_pieces.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/leocad_pieces/leocad_pieces.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild
index 2d030d1a87..b26867a7f5 100644
--- a/graphics/leocad_pieces/leocad_pieces.SlackBuild
+++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild
@@ -4,10 +4,10 @@
# LeoCAD
# Written by Niels Horn - niels.horn@gmail.com
-# revision date 2010/04/15
+# revision date 2010/07/17
PRGNAM=leocad_pieces
-VERSION=3506
+VERSION=${VERSION:-3934}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -28,6 +28,9 @@ unzip $CWD/pieces-$VERSION.zip -d $PKG/usr/share/leocad
chown -R root:root $PKG
find $PKG -type f -exec chmod 644 {} \;
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc