summaryrefslogtreecommitdiffstats
path: root/games/eduke32_hires_pack
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-06-25 02:27:49 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:41:56 +0700
commit156e7ac3554c2f3f52358c4e19074cbcbc7c33d1 (patch)
treea6f8bb8c7c9ff937142ef4bc7c8cb5d7db1a4762 /games/eduke32_hires_pack
parent5bb844a8ec9d1c3ce3cb6c0dd0e92771e72e9e4f (diff)
downloadslackbuilds-156e7ac3554c2f3f52358c4e19074cbcbc7c33d1.tar.gz
slackbuilds-156e7ac3554c2f3f52358c4e19074cbcbc7c33d1.tar.xz
games/eduke32_hires_pack: Get rid of p7zip dep (use bsdtar instead).
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/eduke32_hires_pack')
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild6
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.info2
2 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 67837edf06..cf88dd2230 100644
--- a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
+++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
@@ -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
diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.info b/games/eduke32_hires_pack/eduke32_hires_pack.info
index 1241da9c3a..0da6233ced 100644
--- a/games/eduke32_hires_pack/eduke32_hires_pack.info
+++ b/games/eduke32_hires_pack/eduke32_hires_pack.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.duke4.org/files/nightfright/hrp/dn3d_hrp54-sfx.exe"
MD5SUM="2acf16b0c6113a69ab9194ae2bd21cbb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="p7zip"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"