From 43ad3ee4223cee33e4d89183e0d49c92d7ba00cd Mon Sep 17 00:00:00 2001 From: Phillip Warner Date: Tue, 11 May 2010 22:53:47 +0200 Subject: games/smc_music: Added to 12.1 repository --- games/smc_music/README | 9 +++++++ games/smc_music/slack-desc | 19 +++++++++++++++ games/smc_music/smc_music.SlackBuild | 47 ++++++++++++++++++++++++++++++++++++ games/smc_music/smc_music.info | 8 ++++++ 4 files changed, 83 insertions(+) create mode 100644 games/smc_music/README create mode 100644 games/smc_music/slack-desc create mode 100644 games/smc_music/smc_music.SlackBuild create mode 100644 games/smc_music/smc_music.info (limited to 'games/smc_music') diff --git a/games/smc_music/README b/games/smc_music/README new file mode 100644 index 0000000000..c4265cbe90 --- /dev/null +++ b/games/smc_music/README @@ -0,0 +1,9 @@ +smc_music (Secret Maryo Chronicles Music Pack) + +Secret Maryo Chronicles is an Open Source two-dimensional platform game +with a style designed similar to classic sidescroller games such as Super +Mario Bros. + +This SlackBuild simply repackages the SMC Music Pack. The game itself +should be installed separately, and its slackBuild can be found on this +site. diff --git a/games/smc_music/slack-desc b/games/smc_music/slack-desc new file mode 100644 index 0000000000..cab6579580 --- /dev/null +++ b/games/smc_music/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------------------------------------------------------| +smc_music: smc_music (Secret Maryo Chronicles Music Pack) +smc_music: +smc_music: Secret Maryo Chronicles is an Open Source two-dimensional platform +smc_music: game with a style designed similar to classic sidescroller games such +smc_music: as Super Mario Bros. +smc_music: +smc_music: This package **includes ONLY the music pack for the game** and is +smc_music: architecture independent. +smc_music: +smc_music: http://www.secretmaryo.org/ +smc_music: diff --git a/games/smc_music/smc_music.SlackBuild b/games/smc_music/smc_music.SlackBuild new file mode 100644 index 0000000000..8181783317 --- /dev/null +++ b/games/smc_music/smc_music.SlackBuild @@ -0,0 +1,47 @@ +#!/bin/sh + +# Slackware build script for +# smc_music (Secret Maryo Chronicles Music Pack) +# Written by Phillip Warner + +PRGNAM=smc_music +VERSION=${VERSION:-4.0} + +# The music pack file name +# This is not always consistent, so check it +MUSICPACK=${MUSICPACK:-SMC_music_${VERSION}_high.zip} + +ARCH=noarch # Leave this alone +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +mkdir -p $TMP $OUTPUT + +rm -rf $PKG +mkdir -p $PKG +cd $PKG + +unzip $CWD/$MUSICPACK + +mkdir -p $PKG/usr/share/$(echo $PRGNAM | cut -d"_" -f1) \ + $PKG/usr/doc/$PRGNAM-$VERSION \ + $PKG/install +mv -v data/music $PKG/usr/share/$(echo $PRGNAM | cut -d"_" -f1) +rmdir data + +mv -v docs/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rmdir docs + +chown -R root:root . +chmod -R a-s,u+rw,go-w . + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/slack-desc > $PKG/install/slack-desc + +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/games/smc_music/smc_music.info b/games/smc_music/smc_music.info new file mode 100644 index 0000000000..e900e4e14b --- /dev/null +++ b/games/smc_music/smc_music.info @@ -0,0 +1,8 @@ +PRGNAM="smc_music" +VERSION="4.0" +HOMEPAGE="http://www.secretmaryo.org/" +DOWNLOAD="http://downloads.sourceforge.net/smclone/SMC_music_4.0_high.zip" +MD5SUM="bb007603c723eddd6ccb007cc5f01cd6" +MAINTAINER="Phillip Warner" +EMAIL="pc_warner@yahoo.com" +APPROVED="David Somero" -- cgit v1.2.3-79-gdb01