summaryrefslogtreecommitdiffstats
path: root/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild')
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
index d57c6a0321..cf88dd2230 100644
--- a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
+++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Eduke32 HRP (High Res Pack)
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -13,6 +13,10 @@
# enabled. If there are major issues, I can downgrade this back to the
# previous version (4.0_321) version. Email me.
+# 20230625 bkw: get rid of p7zip dep. Turns out that Slackware's
+# bsdtar command (from libarchive) can extract this just fine. All
+# these years I never knew that...
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=eduke32_hires_pack
@@ -41,7 +45,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-7za x $CWD/$ZIPFILE autoload/\* \*.txt
+bsdtar xvf $CWD/$ZIPFILE autoload/\* \*.txt
chown -R root:root .
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644