diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-12 23:29:27 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:29:27 +0200 |
commit | 33e22b89a0a8abb94d7891d108de97c17491d7f0 (patch) | |
tree | 140ff53af5f012544309b14d4a6848fd8d42968f /games/monkey-bubble | |
parent | 1a3537baa7360d5394d9dc1feced739581c40447 (diff) | |
download | slackbuilds-33e22b89a0a8abb94d7891d108de97c17491d7f0.tar.gz |
games/monkey-bubble: Added to 12.2 repository
Diffstat (limited to 'games/monkey-bubble')
-rw-r--r-- | games/monkey-bubble/README | 7 | ||||
-rw-r--r-- | games/monkey-bubble/monkey-bubble-0.4.0-gnome-doc.patch | 54 | ||||
-rw-r--r-- | games/monkey-bubble/monkey-bubble-srv.1 | 22 | ||||
-rw-r--r-- | games/monkey-bubble/monkey-bubble.1 | 28 | ||||
-rw-r--r-- | games/monkey-bubble/monkey-bubble.SlackBuild | 90 | ||||
-rw-r--r-- | games/monkey-bubble/monkey-bubble.info | 8 | ||||
-rw-r--r-- | games/monkey-bubble/slack-desc | 19 |
7 files changed, 228 insertions, 0 deletions
diff --git a/games/monkey-bubble/README b/games/monkey-bubble/README new file mode 100644 index 0000000000..01d79d03c2 --- /dev/null +++ b/games/monkey-bubble/README @@ -0,0 +1,7 @@ +Monkey Bubble is a game in which you must explode all bubbles +in the game area. + +This requires libgnomeui and gnome-doc-utils. + +If you want scrollkeeper support, then install rarian and do this: +HAVE_RARIAN=yes ./monkey-bubble.SlackBuild diff --git a/games/monkey-bubble/monkey-bubble-0.4.0-gnome-doc.patch b/games/monkey-bubble/monkey-bubble-0.4.0-gnome-doc.patch new file mode 100644 index 0000000000..5e2378b1ea --- /dev/null +++ b/games/monkey-bubble/monkey-bubble-0.4.0-gnome-doc.patch @@ -0,0 +1,54 @@ +--- monkey-bubble-0.4.0.orig/help/C/monkey-bubble.xml ++++ monkey-bubble-0.4.0/help/C/monkey-bubble.xml +@@ -23,7 +23,7 @@ + <publishername>GNOME Documentation Project</publishername> + </publisher> + <authorgroup> +- <author> ++ <author role="maintainer"> + <firstname>Thomas</firstname> + <surname>Cataldo</surname> + <affiliation> +@@ -40,6 +40,9 @@ + <para role="author"> + Thomas Cataldo + </para> ++ <para role="maintainer"> ++ Thomas Cataldo ++ </para> + <para role="publisher"> + GNOME Documentation Project + </para> +@@ -54,7 +57,10 @@ + <para> To report a bug or make a suggestion regarding the &app; application or this + manual, follow the directions in the + <ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink>. </para> +- </legalnotice> ++ </legalnotice> ++ <abstract role="description"> ++ <para>A user manual describing the use of monkey-bubble.</para> ++ </abstract> + </articleinfo> + + <indexterm> +--- monkey-bubble-0.4.0.orig/help/fr/monkey-bubble.xml ++++ monkey-bubble-0.4.0/help/fr/monkey-bubble.xml +@@ -22,7 +22,7 @@ + <publishername>Projet de documentation GNOME</publishername> + </publisher> + <authorgroup> +- <author> ++ <author role="maintainer"> + <firstname>Thomas</firstname> + <surname>Cataldo</surname> + <affiliation> +@@ -47,6 +47,9 @@ + <title>Votre avis</title> + <para>Pour signaler un problème ou faire une suggestion concernant l'application Monkey Bubble ou le présent manuel, procédez comme indiquéà la <ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink>.</para> + </legalnotice> ++ <abstract role="description"> ++ <para>A user manual describing the use of monkey-bubble.</para> ++ </abstract> + </articleinfo> + + <indexterm> diff --git a/games/monkey-bubble/monkey-bubble-srv.1 b/games/monkey-bubble/monkey-bubble-srv.1 new file mode 100644 index 0000000000..c3b6399351 --- /dev/null +++ b/games/monkey-bubble/monkey-bubble-srv.1 @@ -0,0 +1,22 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "MONKEY-BUBBLE-SRV" "1" "26 March 2006" "" "" + +.SH NAME +monkey-srv \- monkey-bubble network server +.SH SYNOPSIS + +\fBmonkey-srv\fR + +.SH "DESCRIPTION" +.PP +monkey-srv starts the monkey-bubble network server. This is +necessary to play monkey-bubble with some friends over the +network. This is still experimental. +.SH "AUTHOR" +.PP +This manual page was written by Thomas Cataldo <thomas.cataldo@aliacom.fr> for +the Debian GNU/Linux system (but may be used by others). diff --git a/games/monkey-bubble/monkey-bubble.1 b/games/monkey-bubble/monkey-bubble.1 new file mode 100644 index 0000000000..f500ee2bd4 --- /dev/null +++ b/games/monkey-bubble/monkey-bubble.1 @@ -0,0 +1,28 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "MONKEY-BUBBLE" "1" "26 March 2006" "" "" + +.SH NAME +monkey-bubble \- is an arcade game for GNOME. +.SH SYNOPSIS + +\fBmonkey-bubble\fR [ \fB--usage\fR ] [ \fB-?, --help\fR ] + +.SH "DESCRIPTION" +.PP +Monkey Bubble is a bust'a'move clone designed for the GNOME +environment. +.SH "OPTIONS" +.TP +\fB--usage\fR +Display brief usage message. +.TP +\fB-?, --help\fR +Show help message. +.SH "AUTHOR" +.PP +This manual page was written by Thomas Cataldo <thomas.cataldo@aliacom.fr> for +the Debian GNU/Linux system (but may be used by others). diff --git a/games/monkey-bubble/monkey-bubble.SlackBuild b/games/monkey-bubble/monkey-bubble.SlackBuild new file mode 100644 index 0000000000..d8943d7aad --- /dev/null +++ b/games/monkey-bubble/monkey-bubble.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh +# Slackware build script for monkey-bubble +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=monkey-bubble +VERSION=${VERSION:-0.4.0} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +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 . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +patch -p1 < $CWD/monkey-bubble-0.4.0-gnome-doc.patch + +# This is if you want to enable scrollkeeper. +if [ "${HAVE_RARIAN:-no}" != "yes" ]; then + USE_RARIAN="disable-scrollkeeper" +else + USE_RARIAN="enable-scrollkeeper" +fi + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --${USE_RARIAN} \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/man/man1 +cat $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1 +cat $CWD/$PRGNAM-srv.1 > $PKG/usr/man/man1/$PRGNAM-srv.1 +gzip -9 $PKG/usr/man/man?/*.? + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL $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 >> $PKG/install/doinst.sh << "EOF" +mkdir -p etc/gconf/gconf.xml.defaults +GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" +export GCONF_CONFIG_SOURCE +EOF + +for SCHEMA in $(find $PKG/etc/gconf/schemas -name "*.schemas") ; do + ISCHEMA=$(echo $SCHEMA | cut -d"/" -f5-) + echo "gconftool-2 --makefile-install-rule $ISCHEMA" >> $PKG/install/doinst.sh +done + +for ENTRY in $(find $PKG/etc/gconf/schemas -name "*.entries") ; do + IENTRY=$(echo $ENTRY | cut -d"/" -f5-) + echo "gconftool-2 --direct --config-source=\$GCONF_CONFIG_SOURCE --load $IENTRY" >> $PKG/install/doinst.sh +done + +echo "unset GCONF_CONFIG_SOURCE" >> $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/games/monkey-bubble/monkey-bubble.info b/games/monkey-bubble/monkey-bubble.info new file mode 100644 index 0000000000..548a57e98e --- /dev/null +++ b/games/monkey-bubble/monkey-bubble.info @@ -0,0 +1,8 @@ +PRGNAM="monkey-bubble" +VERSION="0.4.0" +HOMEPAGE="http://www.monkey-bubble.org/" +DOWNLOAD="http://home.gna.org/monkeybubble/downloads/monkey-bubble-0.4.0.tar.gz" +MD5SUM="0de8a05c8c15e08326d244534dc30f22" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/games/monkey-bubble/slack-desc b/games/monkey-bubble/slack-desc new file mode 100644 index 0000000000..f58b9ce154 --- /dev/null +++ b/games/monkey-bubble/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +monkey-bubble: monkey-bubble (GNOME Bust'a'Move clone) +monkey-bubble: +monkey-bubble: Monkey Bubble is in a game in which you must explode all bubbles +monkey-bubble: in the game area. +monkey-bubble: +monkey-bubble: Homepage: http://www.monkey-bubble.org/ +monkey-bubble: +monkey-bubble: +monkey-bubble: +monkey-bubble: +monkey-bubble: |