diff options
Diffstat (limited to 'graphics/LDraw_data/LDraw_data.SlackBuild')
-rw-r--r-- | graphics/LDraw_data/LDraw_data.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild index 1b929a0eff..6c3383eff9 100644 --- a/graphics/LDraw_data/LDraw_data.SlackBuild +++ b/graphics/LDraw_data/LDraw_data.SlackBuild @@ -4,6 +4,7 @@ # several LDraw utilities # Copyright 2009-2013 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2015 Philip van der Hoeven, Almere, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# revision date 2013/11/15 - PRGNAM=LDraw_data -VERSION=${VERSION:-201301} +VERSION=${VERSION:-201402} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,12 +92,14 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # unzip & make 'mklist' # (this is a one-time executable, that won't be installed, # so we don't worry about CFLAGS) -unzip -o mklist1_4.zip +unzip -o mklist1_6.zip +sed -i 's/_MAX_PATH/MAX_PATH/' mklist.c +sed -i 's/shortpath)/shortpath))/' mklist.c make # Run 'mklist' to generate "parts.lst" cd $PKG/usr/share/LDRAW - $TMP/$PRGUNZIPPED/mklist -d + $TMP/$PRGUNZIPPED/mklist -d -f cd - mkdir -p $PKG/install |