summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2010-06-13 23:23:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-14 03:18:18 -0500
commite653d7b6cac5af1898730cf99f11b0a65275af2b (patch)
tree88291f3806f23e82c4a85fa499c045405a2b683e /games
parent0b752d17239f3a0ebaea9f4f1b50d967749bfac5 (diff)
downloadslackbuilds-e653d7b6cac5af1898730cf99f11b0a65275af2b.tar.gz
games/darkplaces_shareware_data: Added (quake shareware data files)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/darkplaces_shareware_data/README5
-rw-r--r--games/darkplaces_shareware_data/darkplaces_shareware_data.SlackBuild41
-rw-r--r--games/darkplaces_shareware_data/darkplaces_shareware_data.info10
-rw-r--r--games/darkplaces_shareware_data/slack-desc18
4 files changed, 74 insertions, 0 deletions
diff --git a/games/darkplaces_shareware_data/README b/games/darkplaces_shareware_data/README
new file mode 100644
index 0000000000..e5707b4f07
--- /dev/null
+++ b/games/darkplaces_shareware_data/README
@@ -0,0 +1,5 @@
+darkplaces_shareware_data (Quake shareware data)
+
+The shareware game data for idsoftware Quake. Copyright idsoftware, inc.
+
+darkplaces must be installed first before you can use this!
diff --git a/games/darkplaces_shareware_data/darkplaces_shareware_data.SlackBuild b/games/darkplaces_shareware_data/darkplaces_shareware_data.SlackBuild
new file mode 100644
index 0000000000..08b12652f6
--- /dev/null
+++ b/games/darkplaces_shareware_data/darkplaces_shareware_data.SlackBuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+# Slackware build script for Quake Shareware Data
+
+# Written by M.Dinslage
+
+PRGNAM=darkplaces_shareware_data
+VERSION=${VERSION:-1.06}
+ARCH=noarch
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+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 $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/quake106.zip
+lha e resource.1
+chmod 0644 id1/*
+
+mkdir -p $PKG/usr/share/games/darkplaces/id1
+cp id1/pak0.pak $PKG/usr/share/games/darkplaces/id1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+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}
diff --git a/games/darkplaces_shareware_data/darkplaces_shareware_data.info b/games/darkplaces_shareware_data/darkplaces_shareware_data.info
new file mode 100644
index 0000000000..f3e0c94fe5
--- /dev/null
+++ b/games/darkplaces_shareware_data/darkplaces_shareware_data.info
@@ -0,0 +1,10 @@
+PRGNAM="darkplaces_shareware_data"
+VERSION="1.06"
+HOMEPAGE="http://www.idsoftware.com/games/quake/quake/"
+DOWNLOAD="ftp://ftp.idsoftware.com/idstuff/quake/quake106.zip"
+MD5SUM="8cee4d03ee092909fdb6a4f84f0c1357"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="M.Dinslage"
+EMAIL="daedra1980@gmail.com"
+APPROVED="rworkman"
diff --git a/games/darkplaces_shareware_data/slack-desc b/games/darkplaces_shareware_data/slack-desc
new file mode 100644
index 0000000000..7c5536680f
--- /dev/null
+++ b/games/darkplaces_shareware_data/slack-desc
@@ -0,0 +1,18 @@
+# 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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+darkplaces_shareware_data: darkplaces_shareware_data (Quake shareware data)
+darkplaces_shareware_data:
+darkplaces_shareware_data: The shareware game data for idsoftware Quake.
+darkplaces_shareware_data: Copyright idsoftware, inc.
+darkplaces_shareware_data:
+darkplaces_shareware_data:
+darkplaces_shareware_data:
+darkplaces_shareware_data:
+darkplaces_shareware_data:
+darkplaces_shareware_data: