summaryrefslogtreecommitdiff
path: root/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-11 22:53:43 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:53:43 +0200
commit8e6c7de1c5874723dce63be007a6eb5ffdf33f4a (patch)
treefe52e259e42431fe18d82e523520a9ce97f688df /games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
parent9f30ad7fb90bbf5a00608d2fb431bfa892a521c8 (diff)
downloadslackbuilds-8e6c7de1c5874723dce63be007a6eb5ffdf33f4a.tar.gz
games/eduke32_hires_pack: Added to 12.1 repository
Diffstat (limited to 'games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild')
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
new file mode 100644
index 0000000000..e13fe0a7d0
--- /dev/null
+++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# Slackware build script for Eduke32 HRP (High Res Pack)
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+PRGNAM=eduke32_hires_pack
+VERSION=${VERSION:-20070427}
+ZIPFILE=dn3d_hrp-27-04-2007.zip
+ARCH=${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/usr/share/games/eduke32 $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip $CWD/$ZIPFILE
+chmod 644 *.*
+chmod 755 autoload autoload/duke3d.grp
+
+# 20080810 bkw: sd_duke stuff doesn't seem to work
+rm -f sd_duke.*
+
+chown -R root:root .
+mv autoload $PKG/usr/share/games/eduke32/autoload
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt *.TXT $PKG/usr/doc/$PRGNAM-$VERSION
+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.tgz