From 33e22b89a0a8abb94d7891d108de97c17491d7f0 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 12 May 2010 23:29:27 +0200 Subject: games/monkey-bubble: Added to 12.2 repository --- games/monkey-bubble/README | 7 ++ .../monkey-bubble-0.4.0-gnome-doc.patch | 54 +++++++++++++ games/monkey-bubble/monkey-bubble-srv.1 | 22 ++++++ games/monkey-bubble/monkey-bubble.1 | 28 +++++++ games/monkey-bubble/monkey-bubble.SlackBuild | 90 ++++++++++++++++++++++ games/monkey-bubble/monkey-bubble.info | 8 ++ games/monkey-bubble/slack-desc | 19 +++++ 7 files changed, 228 insertions(+) create mode 100644 games/monkey-bubble/README create mode 100644 games/monkey-bubble/monkey-bubble-0.4.0-gnome-doc.patch create mode 100644 games/monkey-bubble/monkey-bubble-srv.1 create mode 100644 games/monkey-bubble/monkey-bubble.1 create mode 100644 games/monkey-bubble/monkey-bubble.SlackBuild create mode 100644 games/monkey-bubble/monkey-bubble.info create mode 100644 games/monkey-bubble/slack-desc (limited to 'games/monkey-bubble') diff --git a/games/monkey-bubble/README b/games/monkey-bubble/README new file mode 100644 index 000000000000..01d79d03c28a --- /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 000000000000..5e2378b1eaf3 --- /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 @@ + GNOME Documentation Project + + +- ++ + Thomas + Cataldo + +@@ -40,6 +40,9 @@ + + Thomas Cataldo + ++ ++ Thomas Cataldo ++ + + GNOME Documentation Project + +@@ -54,7 +57,10 @@ + To report a bug or make a suggestion regarding the &app; application or this + manual, follow the directions in the + GNOME Feedback Page. +- ++ ++ ++ A user manual describing the use of monkey-bubble. ++ + + + +--- 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 @@ + Projet de documentation GNOME + + +- ++ + Thomas + Cataldo + +@@ -47,6 +47,9 @@ + Votre avis + Pour signaler un problème ou faire une suggestion concernant l'application Monkey Bubble ou le présent manuel, procédez comme indiquéà la GNOME Feedback Page. + ++ ++ A user manual describing the use of monkey-bubble. ++ + + + diff --git a/games/monkey-bubble/monkey-bubble-srv.1 b/games/monkey-bubble/monkey-bubble-srv.1 new file mode 100644 index 000000000000..c3b639935130 --- /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: +.\" +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng . +.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 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 000000000000..f500ee2bd40d --- /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: +.\" +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng . +.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 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 000000000000..d8943d7aad67 --- /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 + +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 000000000000..548a57e98e63 --- /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 000000000000..f58b9ce1544d --- /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: -- cgit v1.2.3