games/jfsw_registered_data: Added (Game data for Shadow Warrior).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d7c59182c4
commit
300e142f8d
|
@ -0,0 +1,21 @@
|
|||
jfsw_registered_data (game data from full version of Shadow Warrior)
|
||||
|
||||
This is the full/registered version of Shadow Warrior, for use with the
|
||||
jfsw game engine.
|
||||
|
||||
Shadow Warrior is a first-person shooter video game developed by 3D
|
||||
Realms and published by GT Interactive Software. The shareware version
|
||||
was released for the PC on May 13, 1997, while the full version was
|
||||
released on August 31, 1997. Shadow Warrior was developed using Ken
|
||||
Silverman's Build engine.
|
||||
|
||||
The jfsw launcher supports both the demo version (jfsw_demo_data) and the
|
||||
full version (jfsw_registered_data). Since the full version includes the
|
||||
levels from the demo version (as Episode 1), there's no need to install
|
||||
both on the same system, although this is supported.
|
||||
|
||||
If you get '403 Forbidden' when downloading the source file, either
|
||||
use a browser to visit the homepage and click on 'Download Full', or
|
||||
else use a custom User-Agent header. Example:
|
||||
|
||||
( source jfsw_registered_data.info ; wget --user-agent Firefox $DOWNLOAD )
|
|
@ -0,0 +1,4 @@
|
|||
# If there's no sw.grp link, take over:
|
||||
if [ ! -r usr/share/games/jfsw/sw.grp ]; then
|
||||
( cd usr/share/games/jfsw/ ; ln -sf sw_registered.grp sw.grp )
|
||||
fi
|
|
@ -0,0 +1,58 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for jfsw_registered_data
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# This game is offered as a free download on both Steam and GoG.
|
||||
# It's also been available from www.oldpcgaming.net since 2014.
|
||||
|
||||
PRGNAM=jfsw_registered_data
|
||||
VERSION=${VERSION:-1.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir -p $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
7za x $CWD/shadow.7z '*/*.GRP' '*/*.TXT' '*/*.ICO'
|
||||
cd shadow
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \+ -o \
|
||||
\( -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/jfsw
|
||||
install -m0644 SW.GRP $PKG/usr/share/games/jfsw/sw_registered.grp
|
||||
|
||||
# This stuff's not very relevant to a source port.
|
||||
rm -f INSTALL.TXT ORDERFRM.TXT
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
for i in *.TXT; do
|
||||
sed 's,\r,,' < $i > $PKG/usr/doc/$PRGNAM-$VERSION/$( echo $i | tr A-Z a-z )
|
||||
done
|
||||
cat SW.ICO > $PKG/usr/doc/$PRGNAM-$VERSION/sw.ico
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="jfsw_registered_data"
|
||||
VERSION="1.2"
|
||||
HOMEPAGE="http://www.oldpcgaming.net/shadow-warrior-review/"
|
||||
DOWNLOAD="http://www.oldpcgaming.net/demo/shadow.7z"
|
||||
MD5SUM="b1dff182c5760710c2e31e9f4e728eb1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="jfsw p7zip"
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
jfsw_registered_data: jfsw_registered_data (game data from full version of Shadow Warrior)
|
||||
jfsw_registered_data:
|
||||
jfsw_registered_data: This is the full/registered version of Shadow Warrior, for use with
|
||||
jfsw_registered_data: the jfsw game engine.
|
||||
jfsw_registered_data:
|
||||
jfsw_registered_data: Shadow Warrior is a first-person shooter video game developed by 3D
|
||||
jfsw_registered_data: Realms and published by GT Interactive Software. The shareware version
|
||||
jfsw_registered_data: was released for the PC on May 13, 1997, while the full version was
|
||||
jfsw_registered_data: released on August 31, 1997. Shadow Warrior was developed using Ken
|
||||
jfsw_registered_data: Silverman's Build engine.
|
||||
jfsw_registered_data:
|
Loading…
Reference in New Issue