aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/pathways-into-darkness/README6
-rw-r--r--games/pathways-into-darkness/doinst.sh9
-rw-r--r--games/pathways-into-darkness/pathways-into-darkness10
-rw-r--r--games/pathways-into-darkness/pathways-into-darkness.SlackBuild66
-rw-r--r--games/pathways-into-darkness/pathways-into-darkness.desktop7
-rw-r--r--games/pathways-into-darkness/pathways-into-darkness.info10
-rw-r--r--games/pathways-into-darkness/slack-desc19
7 files changed, 127 insertions, 0 deletions
diff --git a/games/pathways-into-darkness/README b/games/pathways-into-darkness/README
new file mode 100644
index 0000000000..0d2e248baf
--- /dev/null
+++ b/games/pathways-into-darkness/README
@@ -0,0 +1,6 @@
+pathways-into-darkness (pathways into darkness port for alephone)
+
+This is a full port of the 1993 Mac game "Pathways Into Darkness" by
+Bungie to the Aleph One engine. It's somewhat of a precursor to the
+Marathon games, and combines elements of the first-person shooter and
+roleplaying game genres.
diff --git a/games/pathways-into-darkness/doinst.sh b/games/pathways-into-darkness/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/games/pathways-into-darkness/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/pathways-into-darkness/pathways-into-darkness b/games/pathways-into-darkness/pathways-into-darkness
new file mode 100644
index 0000000000..2e014cb256
--- /dev/null
+++ b/games/pathways-into-darkness/pathways-into-darkness
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+ALEPHONE_DATA="/usr/share/AlephOne/gamedata/AOPID_v1.4"
+ALEPHONE_DEFAULT_DATA="$ALEPHONE_DATA"
+export ALEPHONE_DATA ALEPHONE_DEFAULT_DATA
+
+SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
+export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
+
+exec alephone "$@"
diff --git a/games/pathways-into-darkness/pathways-into-darkness.SlackBuild b/games/pathways-into-darkness/pathways-into-darkness.SlackBuild
new file mode 100644
index 0000000000..c8781faa17
--- /dev/null
+++ b/games/pathways-into-darkness/pathways-into-darkness.SlackBuild
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+# Slackware build script for pathways-into-darkness
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pathways-into-darkness
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+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
+
+ZIPFILE=AOPID_v${VERSION}.zip
+WRAPPER=$PRGNAM
+DATADIR=$PKG/usr/share/AlephOne/gamedata
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+mkdir -p $DATADIR
+unzip $CWD/$ZIPFILE -d $DATADIR
+chown -R root:root $DATADIR
+
+find $DATADIR \
+ \( -type f -exec chmod 644 {} + \) -o \
+ \( -type d -exec chmod 755 {} + \)
+
+mkdir -p $PKG/usr/games
+cat $CWD/$WRAPPER > $PKG/usr/games/$WRAPPER
+chmod 0755 $PKG/usr/games/$WRAPPER
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$WRAPPER.desktop > $PKG/usr/share/applications/$WRAPPER.desktop
+
+mkdir -p $PKG/usr/share/icons/hicolor/{32x32,256x256}/apps
+mv $DATADIR/*/icon.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
+mv $DATADIR/*/iconHD.png $PKG/usr/share/icons/hicolor/256x256/apps/$PRGNAM.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv $DATADIR/*/*.{html,pdf} $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$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
diff --git a/games/pathways-into-darkness/pathways-into-darkness.desktop b/games/pathways-into-darkness/pathways-into-darkness.desktop
new file mode 100644
index 0000000000..60e8583246
--- /dev/null
+++ b/games/pathways-into-darkness/pathways-into-darkness.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Pathways Into Darkness
+Exec=pathways-into-darkness
+Icon=pathways-into-darkness
+Type=Application
+Comment=Pathways Into Darkness (first-person shooter game)
+Categories=Game;ActionGame;
diff --git a/games/pathways-into-darkness/pathways-into-darkness.info b/games/pathways-into-darkness/pathways-into-darkness.info
new file mode 100644
index 0000000000..7cd1a222c8
--- /dev/null
+++ b/games/pathways-into-darkness/pathways-into-darkness.info
@@ -0,0 +1,10 @@
+PRGNAM="pathways-into-darkness"
+VERSION="1.4"
+HOMEPAGE="https://simplici7y.com/items/aleph-one-pathways-into-darkness/"
+DOWNLOAD="https://simplici7y.s3.amazonaws.com/static/versions/item-7101/06de0635-0375-49c8-9cc2-bba1ebe26259/AOPID_v1.4.zip"
+MD5SUM="e8b64703bab32ac6c511b4d9b828ce2d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="alephone"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/games/pathways-into-darkness/slack-desc b/games/pathways-into-darkness/slack-desc
new file mode 100644
index 0000000000..a80d47f088
--- /dev/null
+++ b/games/pathways-into-darkness/slack-desc
@@ -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------------------------------------------------------|
+pathways-into-darkness: pathways-into-darkness (pathways into darkness port for alephone)
+pathways-into-darkness:
+pathways-into-darkness: This is a full port of the 1993 Mac game "Pathways Into Darkness" by
+pathways-into-darkness: Bungie to the Aleph One engine. It's somewhat of a precursor to the
+pathways-into-darkness: Marathon games, and combines elements of the first-person shooter and
+pathways-into-darkness: roleplaying game genres.
+pathways-into-darkness:
+pathways-into-darkness:
+pathways-into-darkness:
+pathways-into-darkness:
+pathways-into-darkness: