mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
graphics/LDraw_data: Updated for version 202404
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a9cb6d04ce
commit
8c6d0f2cdf
3 changed files with 12 additions and 14 deletions
|
@ -4,7 +4,7 @@
|
|||
# several LDraw utilities
|
||||
|
||||
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||
# Copyright 2016 Philip van der Hoeven, Almere, The Netherlands
|
||||
# Copyright 2016-2024 Philip van der Hoeven, Almere, The Netherlands
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -28,18 +28,19 @@
|
|||
# - update for v202201.
|
||||
# - host download file on slackware.uk, for now. this gives us a little
|
||||
# breathing space, when upstream changes the download file again.
|
||||
#
|
||||
# 20240528: The parts are now hosted in a github repository
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=LDraw_data
|
||||
VERSION=${VERSION:-202201}
|
||||
VERSION=${VERSION:-202404}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
PRGSRC=complete.zip
|
||||
PRGUNZIPPED=ldraw
|
||||
PRGSRC=LDraw
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
|
@ -58,9 +59,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGUNZIPPED
|
||||
unzip $CWD/$PRGSRC
|
||||
cd $PRGUNZIPPED
|
||||
rm -rf $PRGSRC-$VERSION
|
||||
tar -xvf $CWD/$PRGSRC-$VERSION.tar.gz
|
||||
cd $PRGSRC-$VERSION
|
||||
|
||||
# Check if we have the right version of the "source"
|
||||
srcver=$(echo "20$(basename $(ls -1 models/Note*.txt | tail -n1) .txt | cut -b5-8)")
|
||||
|
@ -114,7 +115,7 @@ make
|
|||
|
||||
# Run 'mklist' to generate "parts.lst"
|
||||
cd $PKG/usr/share/LDRAW
|
||||
$TMP/$PRGUNZIPPED/mklist -d -f
|
||||
$TMP/$PRGSRC-$VERSION/mklist -d -f
|
||||
cd -
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="LDraw_data"
|
||||
VERSION="202201"
|
||||
VERSION="202404"
|
||||
HOMEPAGE="http://www.ldraw.org/"
|
||||
DOWNLOAD="https://slackware.uk/~urchlay/src/complete.zip"
|
||||
MD5SUM="fa89c640118cc34bd683ee3f537a7399"
|
||||
DOWNLOAD="https://github.com/philipvdh/LDraw/releases/download/202404/LDraw-202404.tar.gz"
|
||||
MD5SUM="2c1d4f9d19ae76a2bf4e63e85162da39"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -4,6 +4,3 @@ on LDRAW.
|
|||
This SlackBuild script compiles a temporary program to create the
|
||||
index file. Since it is only needed once, it is not copied to the
|
||||
created package.
|
||||
|
||||
The source file ("complete.zip") is not versioned, but the SlackBuild
|
||||
checks the version of the data after unzipping.
|
||||
|
|
Loading…
Reference in a new issue