mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
games/smc_music: Added to 12.1 repository
This commit is contained in:
parent
160c11c989
commit
43ad3ee422
4 changed files with 83 additions and 0 deletions
9
games/smc_music/README
Normal file
9
games/smc_music/README
Normal file
|
@ -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.
|
19
games/smc_music/slack-desc
Normal file
19
games/smc_music/slack-desc
Normal file
|
@ -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:
|
47
games/smc_music/smc_music.SlackBuild
Normal file
47
games/smc_music/smc_music.SlackBuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for
|
||||
# smc_music (Secret Maryo Chronicles Music Pack)
|
||||
# Written by Phillip Warner <pc_warner@yahoo.com>
|
||||
|
||||
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
|
8
games/smc_music/smc_music.info
Normal file
8
games/smc_music/smc_music.info
Normal file
|
@ -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"
|
Loading…
Reference in a new issue