diff options
-rw-r--r-- | games/ostrichriders/README | 7 | ||||
-rw-r--r-- | games/ostrichriders/doinst.sh | 9 | ||||
-rw-r--r-- | games/ostrichriders/ostrichriders.6 | 92 | ||||
-rw-r--r-- | games/ostrichriders/ostrichriders.SlackBuild | 94 | ||||
-rw-r--r-- | games/ostrichriders/ostrichriders.info | 10 | ||||
-rw-r--r-- | games/ostrichriders/ostrichriders.rst | 81 | ||||
-rw-r--r-- | games/ostrichriders/slack-desc | 19 |
7 files changed, 312 insertions, 0 deletions
diff --git a/games/ostrichriders/README b/games/ostrichriders/README new file mode 100644 index 0000000000..f3638cbf1f --- /dev/null +++ b/games/ostrichriders/README @@ -0,0 +1,7 @@ +ostrichriders (clone of the arcade game "Joust") + +Enemy knights are invading the kingdom. As one of the elite ostrich +riders, it is your duty to defend the kingdom. With lance in hand +you fly off. Remember to stay above your opponent lest you fall to +his lance. Collect the eggs lest your opponent hatches stronger than +before. Work together with other knights. diff --git a/games/ostrichriders/doinst.sh b/games/ostrichriders/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/games/ostrichriders/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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/games/ostrichriders/ostrichriders.6 b/games/ostrichriders/ostrichriders.6 new file mode 100644 index 0000000000..a8ead48b34 --- /dev/null +++ b/games/ostrichriders/ostrichriders.6 @@ -0,0 +1,92 @@ +.\" Man page generated from reStructuredText. +. +.TH OSTRICHRIDERS 6 "2016-08-10" "0.6.3" "SlackBuilds.org" +.SH NAME +ostrichriders \- clone of the arcade game "Joust" +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.\" RST source for ostrichriders(1) man page. Convert with: +. +.\" rst2man.py ostrichriders.rst > ostrichriders.6 +. +.\" rst2man.py comes from the SBo development/docutils package. +. +.\" converting from pod: +. +.\" s/B<\([^>]*\)>/**\1**/g +. +.\" s/I<\([^>]*\)>/*\1*/g +. +.SH SYNOPSIS +.sp +ostrichriders [\fI\-l libdir\fP] +.SH DESCRIPTION +.sp +Enemy knights are invading the kingdom. As one of the elite ostrich +riders, it is your duty to defend the kingdom. With lance in hand +you fly off. Remember to stay above your opponent lest you fall to +his lance. Collect the eggs lest your opponent hatches stronger than +before. Work together with other knights. +.sp +The game is controlled entirely via the keyboard. Up to 3 players can +play on the same instance of the game (no networked multiplayer). The +menu is operated with arrow keys and Enter, and the gameplay keys are +configurable via the menu. +.SH OPTIONS +.INDENT 0.0 +.TP +.B \fI\-l\fP <libdir> +Use alternate game data directory. +.UNINDENT +.SH FILES +.INDENT 0.0 +.TP +.B \fI/usr/share/ostrichriders/\fP +Game data directory. +.TP +.B \fI~/.ostrichriders/\fP +Per\-user directory (settings and high scores). +.UNINDENT +.SH BUGS +.sp +The default player 1 and 2 controls are shown on the menu screen, but +are not updated if the controls are changed using the Controls menu. +.SH COPYRIGHT +.sp +See the file /usr/doc/PRGNAM\-0.6.3/LICENCE for license information. +.SH AUTHORS +.sp +PRGNAM was developed by Seby, Suiland, and Dennis Payne. +.sp +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. +.SH SEE ALSO +.sp +The ostrichriders homepage: \fI\%http://identicalsoftware.com/ostrichriders/\fP +.\" Generated by docutils manpage writer. +. diff --git a/games/ostrichriders/ostrichriders.SlackBuild b/games/ostrichriders/ostrichriders.SlackBuild new file mode 100644 index 0000000000..270a2bf5fb --- /dev/null +++ b/games/ostrichriders/ostrichriders.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware build script for ostrichriders + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=ostrichriders +VERSION=${VERSION:-0.6.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tgz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# This stuff looks like it was included in the tarball by mistake. +rm -f data/mods/sandbox/media/Thumbs.db \ + data/mods/*/"scores (copie).dat" + +# SBo's SFML doesn't ship a .pc file for pkg-config, so do it the hard +# way. Also, BINDIR and prefix are used in a nonstandard way. -Wl,-s +# strips the binary. + +make prefix=$PKG \ + BINDIR=$PKG/usr/games \ + ADD_CFLAGS="$SLKCFLAGS" \ + ADD_LDFLAGS="-Wl,-s \ + -L/usr/lib$LIBDIRSUFFIX \ + -lsfml-audio \ + -lsfml-graphics \ + -lsfml-system \ + -lsfml-window \ + $( pkg-config --libs fontconfig )" \ + all \ + install + +# Binary is named in MixedCase, symlink to lowercase for convenience. +ln -s OstrichRiders $PKG/usr/games/$PRGNAM + +# man page written for this build (if nothing else, I need the practice). +mkdir -p $PKG/usr/man/man6 +gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz +ln -s $PRGNAM.6.gz $PKG/usr/man/man6/OstrichRiders.6.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENCE README html/* $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/ostrichriders/ostrichriders.info b/games/ostrichriders/ostrichriders.info new file mode 100644 index 0000000000..6fe2a83300 --- /dev/null +++ b/games/ostrichriders/ostrichriders.info @@ -0,0 +1,10 @@ +PRGNAM="ostrichriders" +VERSION="0.6.3" +HOMEPAGE="http://identicalsoftware.com/ostrichriders/" +DOWNLOAD="http://identicalsoftware.com/ostrichriders/ostrichriders-0.6.3.tgz" +MD5SUM="f0d18891f68d08326c973a3c1d92eea6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="SFML" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/ostrichriders/ostrichriders.rst b/games/ostrichriders/ostrichriders.rst new file mode 100644 index 0000000000..278b3f70d3 --- /dev/null +++ b/games/ostrichriders/ostrichriders.rst @@ -0,0 +1,81 @@ +.. RST source for ostrichriders(1) man page. Convert with: +.. rst2man.py ostrichriders.rst > ostrichriders.6 +.. rst2man.py comes from the SBo development/docutils package. + +.. |version| replace:: 0.6.3 +.. |date| date:: + +.. converting from pod: +.. s/B<\([^>]*\)>/**\1**/g +.. s/I<\([^>]*\)>/*\1*/g + +============= +ostrichriders +============= + +-------------------------------- +clone of the arcade game "Joust" +-------------------------------- + +:Manual section: 6 +:Manual group: SlackBuilds.org +:Date: |date| +:Version: |version| + +SYNOPSIS +======== + +ostrichriders [*-l libdir*] + +DESCRIPTION +=========== + +Enemy knights are invading the kingdom. As one of the elite ostrich +riders, it is your duty to defend the kingdom. With lance in hand +you fly off. Remember to stay above your opponent lest you fall to +his lance. Collect the eggs lest your opponent hatches stronger than +before. Work together with other knights. + +The game is controlled entirely via the keyboard. Up to 3 players can +play on the same instance of the game (no networked multiplayer). The +menu is operated with arrow keys and Enter, and the gameplay keys are +configurable via the menu. + +OPTIONS +======= + +*-l* <libdir> + Use alternate game data directory. + +FILES +===== + +*/usr/share/ostrichriders/* + Game data directory. + +*~/.ostrichriders/* + Per-user directory (settings and high scores). + +BUGS +==== + +The default player 1 and 2 controls are shown on the menu screen, but +are not updated if the controls are changed using the Controls menu. + +COPYRIGHT +========= + +See the file /usr/doc/PRGNAM-|version|/LICENCE for license information. + +AUTHORS +======= + +PRGNAM was developed by Seby, Suiland, and Dennis Payne. + +This man page written for the SlackBuilds.org project +by B. Watson, and is licensed under the WTFPL. + +SEE ALSO +======== + +The ostrichriders homepage: http://identicalsoftware.com/ostrichriders/ diff --git a/games/ostrichriders/slack-desc b/games/ostrichriders/slack-desc new file mode 100644 index 0000000000..98aa99f995 --- /dev/null +++ b/games/ostrichriders/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------------------------------------------------------| +ostrichriders: ostrichriders (clone of the arcade game "Joust") +ostrichriders: +ostrichriders: Enemy knights are invading the kingdom. As one of the elite ostrich +ostrichriders: riders, it is your duty to defend the kingdom. With lance in hand +ostrichriders: you fly off. Remember to stay above your opponent lest you fall +ostrichriders: to his lance. Collect the eggs lest your opponent hatches stronger +ostrichriders: than before. Work together with other knights. +ostrichriders: +ostrichriders: +ostrichriders: +ostrichriders: |