From e653d7b6cac5af1898730cf99f11b0a65275af2b Mon Sep 17 00:00:00 2001 From: "M.Dinslage" Date: Sun, 13 Jun 2010 23:23:37 -0500 Subject: [PATCH] games/darkplaces_shareware_data: Added (quake shareware data files) Signed-off-by: Robby Workman --- games/darkplaces_shareware_data/README | 5 +++ .../darkplaces_shareware_data.SlackBuild | 41 +++++++++++++++++++ .../darkplaces_shareware_data.info | 10 +++++ games/darkplaces_shareware_data/slack-desc | 18 ++++++++ 4 files changed, 74 insertions(+) create mode 100644 games/darkplaces_shareware_data/README create mode 100644 games/darkplaces_shareware_data/darkplaces_shareware_data.SlackBuild create mode 100644 games/darkplaces_shareware_data/darkplaces_shareware_data.info create mode 100644 games/darkplaces_shareware_data/slack-desc 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: