summaryrefslogtreecommitdiffstats
path: root/games/0ad-data
diff options
context:
space:
mode:
Diffstat (limited to 'games/0ad-data')
-rw-r--r--games/0ad-data/0ad-data.SlackBuild15
-rw-r--r--games/0ad-data/0ad-data.info6
-rw-r--r--games/0ad-data/README5
3 files changed, 13 insertions, 13 deletions
diff --git a/games/0ad-data/0ad-data.SlackBuild b/games/0ad-data/0ad-data.SlackBuild
index 3deeab2311..f0e3c22489 100644
--- a/games/0ad-data/0ad-data.SlackBuild
+++ b/games/0ad-data/0ad-data.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for 0 A.D. Data
#
-# Copyright 2020 Tim Dickson, Scotland
+# Copyright 2020-2022 Tim Dickson, Scotland
# Copyright 2016-2017 Reedych <reedych@ya.ru>
# Copyright 2010-2015 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=0ad-data
DATANAM=0ad
-VERSION=${VERSION:-0.0.24b}
+VERSION=${VERSION:-0.0.26}
RELEASE=${RELEASE:-alpha}
ARCH=noarch
BUILD=${BUILD:-1}
@@ -51,10 +51,10 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $DATANAM-$VERSION-$RELEASE
-tar xvf $CWD/$DATANAM-$VERSION-$RELEASE-unix-data.tar.xz
-cd $DATANAM-$VERSION-$RELEASE
+mkdir -p $PKG/usr/share/games/0ad
+cd $PKG/usr/share/games/0ad
+tar --strip-components=3 -xvf $CWD/$DATANAM-$VERSION-$RELEASE-unix-data.tar.xz $DATANAM-$VERSION-$RELEASE/binaries/data/
+cd $PKG
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -62,9 +62,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/share/games
-cp -rv binaries/data $PKG/usr/share/games/0ad
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/0ad-data/0ad-data.info b/games/0ad-data/0ad-data.info
index a3103e41c1..6f9a2ab55c 100644
--- a/games/0ad-data/0ad-data.info
+++ b/games/0ad-data/0ad-data.info
@@ -1,8 +1,8 @@
PRGNAM="0ad-data"
-VERSION="0.0.24b"
+VERSION="0.0.26"
HOMEPAGE="https://play0ad.com/"
-DOWNLOAD="http://releases.wildfiregames.com/0ad-0.0.24b-alpha-unix-data.tar.xz"
-MD5SUM="69db2a228f1802a2e8f360bed4d21036"
+DOWNLOAD="http://releases.wildfiregames.com/0ad-0.0.26-alpha-unix-data.tar.xz"
+MD5SUM="b023f0f7045dc020f97be6c0df9f9a7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/0ad-data/README b/games/0ad-data/README
index 55cf0bb808..c8c96cc0b0 100644
--- a/games/0ad-data/README
+++ b/games/0ad-data/README
@@ -1,3 +1,6 @@
Data for the real-time strategy game 0 A.D.
-Note: building this package needs a lot of space (~3GB) in $TMP
+the download is currently 1.3GB
+Note: building this package needs a lot of space (~7.8GB) in $TMP
+1.7G for the created package and the rest for the extracted data
+and uncompressed package.