games/bloodcm: Added (first-person shooter game).

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
B. Watson 2016-08-10 20:00:19 +01:00 committed by Willy Sudiarto Raharjo
parent fdd52e899b
commit 020be42b8c
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 104 additions and 0 deletions

13
games/bloodcm/README Normal file
View file

@ -0,0 +1,13 @@
bloodcm (first-person shooter game)
Blood Crossmatching (formerly known as BloodTC) is a recreation of Blood
(by Monolith Productions) for EDuke32 to bring all the fun and action of
Blood to the EDuke32 port. This mod will be more powerful in the future,
considering EDuke32 keeps getting better and better.
No data files from the original game are required.
eduke32 will need to be at least version 20160704_5811 for this to work.
To play BloodCM: Launch EDuke32, select BloodCM in the "Custom Game"
drop-down list, click "Start".

View file

@ -0,0 +1,62 @@
#!/bin/sh
# Slackware build script for bloodcm
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# Just repacks the data, no compiling or executables.
# No icon or .desktop, because no executables.
PRGNAM=bloodcm
VERSION=${VERSION:-02.2016}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
# depending on what the file was downloaded with, it'll be named
# either of these:
ZIPFILE="38-blood-crossmatching"
[ -e $CWD/$ZIPFILE ] || ZIPFILE="${PRGNAM}_v${VERSION}.zip"
# directory inside the zipfile containing the stuff we want. the
# rest is binaries for windows.
DIRNAME="BloodCM"
# this needs to match eduke32.SlackBuild. the wrapper script for
# eduke32 looks here for mods, and symlinks them into the user's
# ~/.eduke32/ so the game can find them.
EDUKEDIR=/usr/share/games/eduke32
# we don't even need a $TMP/$PRGNAM-$VERSION, just extract
# straight into $PKG
rm -rf $PKG/$EDUKEDIR
mkdir -p $TMP $PKG/$EDUKEDIR $OUTPUT
cd $PKG/$EDUKEDIR
unzip $CWD/$ZIPFILE "$DIRNAME/*"
find $DIRNAME -type f -print0 | xargs -0 chmod 644
find $DIRNAME -type d -print0 | xargs -0 chmod 755
# don't ship an empty texture cache
rm -f $DIRNAME/textures $DIRNAME/textures.cache
# upstream has no docs, we'll include our own README, which tells
# the user how to run the game.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="bloodcm"
VERSION="02.2016"
HOMEPAGE="http://www.moddb.com/games/bloodcm"
DOWNLOAD="http://m210.duke4.net/index.php/files/finish/3-eduke32/38-blood-crossmatching"
MD5SUM="02977fed0773cef52b9092beeed7dca4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="eduke32"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"

19
games/bloodcm/slack-desc Normal file
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------------------------------------------------------|
bloodcm: bloodcm (first-person shooter game)
bloodcm:
bloodcm: Blood Crossmatching (formerly known as BloodTC) is a recreation
bloodcm: of Blood (by Monolith Productions) for EDuke32 to bring all the fun
bloodcm: and action of Blood to the EDuke32 port.
bloodcm:
bloodcm: This mod will be more powerful in the future, considering EDuke32
bloodcm: keeps getting better and better.
bloodcm:
bloodcm:
bloodcm: No data files from the original game are required.