From 2032348abad610cf7ef0b2521044a6732f2344e9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 10 Apr 2014 12:20:48 +0700 Subject: games/synobonaction: Added (abstract game, parody of Super Mario). Signed-off-by: Willy Sudiarto Raharjo --- games/syobonaction/README | 6 + games/syobonaction/doinst.sh | 3 + games/syobonaction/slack-desc | 19 +++ games/syobonaction/syobonaction.6 | 181 +++++++++++++++++++++++++++++ games/syobonaction/syobonaction.SlackBuild | 90 ++++++++++++++ games/syobonaction/syobonaction.desktop | 10 ++ games/syobonaction/syobonaction.info | 10 ++ games/syobonaction/syobonaction.png | Bin 0 -> 544 bytes games/syobonaction/syobonaction.pod | 63 ++++++++++ 9 files changed, 382 insertions(+) create mode 100644 games/syobonaction/README create mode 100644 games/syobonaction/doinst.sh create mode 100644 games/syobonaction/slack-desc create mode 100644 games/syobonaction/syobonaction.6 create mode 100644 games/syobonaction/syobonaction.SlackBuild create mode 100644 games/syobonaction/syobonaction.desktop create mode 100644 games/syobonaction/syobonaction.info create mode 100644 games/syobonaction/syobonaction.png create mode 100644 games/syobonaction/syobonaction.pod (limited to 'games/syobonaction') diff --git a/games/syobonaction/README b/games/syobonaction/README new file mode 100644 index 0000000000..dcf06769b9 --- /dev/null +++ b/games/syobonaction/README @@ -0,0 +1,6 @@ +syobonaction (abstract game, parody of Super Mario) + +Syobon Action is a 2D Japanese freeware video game notoriously known on +the Internet for its extremely difficult levels. This is OpenSyobon-M, +the modified SDL port of OpenSyobon, which is itself an unofficial SDL +port of the original game. diff --git a/games/syobonaction/doinst.sh b/games/syobonaction/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/games/syobonaction/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/games/syobonaction/slack-desc b/games/syobonaction/slack-desc new file mode 100644 index 0000000000..2e9d30d16f --- /dev/null +++ b/games/syobonaction/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------------------------------------------------------| +syobonaction: syobonaction (abstract game, parody of Super Mario) +syobonaction: +syobonaction: Syobon Action is a 2D Japanese freeware video game notoriously +syobonaction: known on the Internet for its extremely difficult levels. This is +syobonaction: OpenSyobon-M, the modified SDL port of OpenSyobon, which is itself +syobonaction: an unofficial SDL port of the original game. +syobonaction: +syobonaction: +syobonaction: +syobonaction: +syobonaction: diff --git a/games/syobonaction/syobonaction.6 b/games/syobonaction/syobonaction.6 new file mode 100644 index 0000000000..2de3bcad04 --- /dev/null +++ b/games/syobonaction/syobonaction.6 @@ -0,0 +1,181 @@ +.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +. ds C` +. ds C' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX +.. +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{ +. if \nF \{ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. if !\nF==2 \{ +. nr % 0 +. nr F 2 +. \} +. \} +.\} +.rr rF +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "SYOBONACTION 6" +.TH SYOBONACTION 6 "2014-03-27" "0.2" "SlackBuilds.org" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +syobonaction \- very difficult side\-scrolling platform game +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +\&\fBsyobonaction\fR [\fI\-nosound\fR] [\fI\-fullscreen\fR] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +Syobon Action is a Japanese parody of Super Mario Brothers. +.PP +This man page documents OpenSyobon-M, the modified \s-1SDL\s0 port of OpenSyobon, +which is itself an unofficial \s-1SDL\s0 port of the original game. +.SH "OPTIONS" +.IX Header "OPTIONS" +.IP "\fB\-nosound\fR" 4 +.IX Item "-nosound" +Disables sound +.IP "\fB\-fullscreen\fR" 4 +.IX Item "-fullscreen" +Enables full-screen mode +.SH "CONTROLS" +.IX Header "CONTROLS" +.IP "\fBJump\fR" 4 +.IX Item "Jump" +Up arrow, Z, semicolon, joystick button 1 +.IP "\fBMovement\fR" 4 +.IX Item "Movement" +Left/right arrows, joystick left/right +.IP "\fBEnter Warp Pipe\fR" 4 +.IX Item "Enter Warp Pipe" +Down arrow, joystick down +.PP +On the main menu, 0 through 9 select the starting level. +.SH "AUTHORS" +.IX Header "AUTHORS" +OpenSyobon-M was written by Wei Mingzhi . +This version contains additional levels made by Kazuki Okawa. +.PP +OpenSyobon-M is based on Open Syobon Action \s-1RC 2\s0 by Mathew Velasquez, which +is based on the original Syobon Action by Chiku. +.PP +This man page was written by B. Watson for the SlackBuild.org project. diff --git a/games/syobonaction/syobonaction.SlackBuild b/games/syobonaction/syobonaction.SlackBuild new file mode 100644 index 0000000000..837210104d --- /dev/null +++ b/games/syobonaction/syobonaction.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for syobonaction + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# The source is hosted on my server to avoid the JS-laden download page +# on codeplex. + +PRGNAM=syobonaction +VERSION=${VERSION:-0.2} +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" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -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.tar.gz +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 {} \; + +DATADIR=/usr/share/games/$PRGNAM +BINDIR=/usr/games +BIN=SyobonAction + +sed -i "s,-O2,$SLKCFLAGS," Makefile +make PREFIX=/usr/share/games/$PRGNAM +mkdir -p $PKG/$DATADIR $PKG/$BINDIR +install -s -m0755 $BIN $PKG/$BINDIR/$PRGNAM +cp -r data/*/ $PKG/$DATADIR + +# desktop file is modified version of the one in debian/ +mkdir -p $PKG/usr/share/applications +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + +# icon extracted from macosx/SyobonAction.icns with icns2png +mkdir -p $PKG/usr/share/pixmaps +cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png + +# man page written for this build +mkdir -p $PKG/usr/man/man6 +gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a data/*.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 +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/syobonaction/syobonaction.desktop b/games/syobonaction/syobonaction.desktop new file mode 100644 index 0000000000..3a823f6784 --- /dev/null +++ b/games/syobonaction/syobonaction.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Syobon Action +GenericName=Platform Game +Exec=syobonaction +Icon=syobonaction +Terminal=false +StartupNotify=false +Categories=Game;ArcadeGame; diff --git a/games/syobonaction/syobonaction.info b/games/syobonaction/syobonaction.info new file mode 100644 index 0000000000..6e3f442080 --- /dev/null +++ b/games/syobonaction/syobonaction.info @@ -0,0 +1,10 @@ +PRGNAM="syobonaction" +VERSION="0.2" +HOMEPAGE="http://syobon.codeplex.com/" +DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/syobonaction-0.2.tar.gz" +MD5SUM="5c85c936a0436e5b0b85a08abcd5b105" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/syobonaction/syobonaction.png b/games/syobonaction/syobonaction.png new file mode 100644 index 0000000000..1a261901a8 Binary files /dev/null and b/games/syobonaction/syobonaction.png differ diff --git a/games/syobonaction/syobonaction.pod b/games/syobonaction/syobonaction.pod new file mode 100644 index 0000000000..1d5dfae273 --- /dev/null +++ b/games/syobonaction/syobonaction.pod @@ -0,0 +1,63 @@ +# pod source for syobonaction man page +# pod2man -s6 -r0.2 --stderr -cSlackBuilds.org syobonaction.pod > syobonaction.6 + +=pod + +=head1 NAME + +B - I difficult side-scrolling platform game + +=head1 SYNOPSIS + +B [I<-nosound>] [I<-fullscreen>] + +=head1 DESCRIPTION + +Syobon Action is a Japanese parody of Super Mario Brothers. + +This man page documents OpenSyobon-M, the modified SDL port of OpenSyobon, +which is itself an unofficial SDL port of the original game. + +=head1 OPTIONS + +=over + +=item B<-nosound> + +Disables sound + +=item B<-fullscreen> + +Enables full-screen mode + +=back + +=head1 CONTROLS + +=over + +=item B + +Up arrow, Z, semicolon, joystick button 1 + +=item B + +Left/right arrows, joystick left/right + +=item B + +Down arrow, joystick down + +=back + +On the main menu, 0 through 9 select the starting level. + +=head1 AUTHORS + +OpenSyobon-M was written by Wei Mingzhi . +This version contains additional levels made by Kazuki Okawa. + +OpenSyobon-M is based on Open Syobon Action RC 2 by Mathew Velasquez, which +is based on the original Syobon Action by Chiku. + +This man page was written by B. Watson for the SlackBuild.org project. -- cgit v1.2.3