aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2015-02-05 06:16:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 06:47:45 +0700
commit93f4c57e9ee875d16484b6437bb615049b8d6cd0 (patch)
tree0d6284bb9099f21ba466b27776cc8ad9e95195ed
parent19d870803ca81e196663119a9c5ec27004c025e3 (diff)
graphics/LDraw_data: Updated for version 201402 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild11
-rw-r--r--graphics/LDraw_data/LDraw_data.info8
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index 1b929a0effe6a..6c3383eff9e97 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
diff --git a/graphics/LDraw_data/LDraw_data.info b/graphics/LDraw_data/LDraw_data.info
index 906b4ee196288..871d34a6c66b3 100644
--- a/graphics/LDraw_data/LDraw_data.info
+++ b/graphics/LDraw_data/LDraw_data.info
@@ -1,10 +1,10 @@
PRGNAM="LDraw_data"
-VERSION="201301"
+VERSION="201402"
HOMEPAGE="http://www.ldraw.org/"
DOWNLOAD="http://www.ldraw.org/library/updates/complete.zip"
-MD5SUM="cfc10df9810a45615acf1bf4e043a150"
+MD5SUM="cc8a1a783563a71ee72181d88438abdc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Philip van der Hoeven"
+EMAIL="philip@vd-hoeven.nl"