games/blasphemer: Added (Free content package for Heretic Engine).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Bloyburt 2022-10-19 22:47:10 +07:00 committed by Willy Sudiarto Raharjo
parent 07147931f6
commit d972938689
4 changed files with 126 additions and 0 deletions

24
games/blasphemer/README Normal file
View file

@ -0,0 +1,24 @@
Blasphemer aims to create a free content package for the Heretic engine,
with a theme of metal-inspired dark fantasy.
Any limit-removing Doom source port that is compatible with Heretic can
be used to play Blasphemer. Blasphemer is an iwad, meaning the complete
set of resources required for a game but still requires an executable
engine to be played. You can turn your favorite Heretic pwads into
Lovecraftian nightmares using Blasphemer.
Blasphemer requires a Doom/Heretic engine to play, such as zdoom or
crispy-heretic (both available from slackbuilds.org; the latter is
part of the crispy-doom package). It does NOT require the original
Heretic IWAD file, as it is a replacement for it.
This package installs 2 wad files in /usr/share/games/doom:
blasphem.wad - Replacement IWAD for Heretic.
blasphdm.wad - Standalone deathmatch-only level pack.
To use these data files with zdoom, simply build and install this
package. You will be prompted for which IWAD file to use (i.e. which
game to play) when starting zdoom. Other Doom/Heretic source ports,
such as crispy-heretic, may require a command-line option in order to
set the IWAD file.

View file

@ -0,0 +1,73 @@
#!/bin/bash
# Slackware build script for blasphemer
# Copyright 2022 Bloyburt
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=blasphemer
VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
# 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
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
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 $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/games/doom $PKG/usr/doc/$PRGNAM-$VERSION
unzip $CWD/blasphem-$VERSION.zip && unzip $CWD/blasphdm-$VERSION.zip
chown -R root:root .
chmod 644 *
mv blasphem-$VERSION.wad blasphem.wad
mv blasphdm-$VERSION.wad blasphdm.wad
cp *.wad $PKG/usr/share/games/doom
cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

View file

@ -0,0 +1,10 @@
PRGNAM="blasphemer"
VERSION="0.1.7"
HOMEPAGE="https://github.com/Blasphemer/blasphemer"
DOWNLOAD="https://github.com/Blasphemer/blasphemer/releases/download/v0.1.7/blasphdm-0.1.7.zip https://github.com/Blasphemer/blasphemer/releases/download/v0.1.7/blasphem-0.1.7.zip"
MD5SUM="485d3a58cf067d79f63ccd3b6c7b5f0c 289f9067f332cfb3b61cb824289c6f95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Bloyburt"
EMAIL="alexpen@startmail.com"

View file

@ -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------------------------------------------------------|
blasphemer: blasphemer (Free Software replacement for Heretic game data)
blasphemer:
blasphemer: Blasphemer aims to create a free content package for the Heretic
blasphemer: engine, with a theme of metal-inspired dark fantasy.
blasphemer:
blasphemer: Any limit-removing Doom source port that is compatible with Heretic
blasphemer: can be used to play Blasphemer. Blasphemer is an iwad, meaning the
blasphemer: complete set of resources required for a game but still requires an
blasphemer: executable engine to be played. You can turn your favorite Heretic
blasphemer: pwads into Lovecraftian nightmares using Blasphemer.
blasphemer: