games/smc_music: Updated for version 4.1

This commit is contained in:
Phillip Warner 2010-05-13 00:27:06 +02:00 committed by David Somero
parent cdf1299955
commit c6a880594c
2 changed files with 10 additions and 9 deletions

View file

@ -6,32 +6,31 @@
PRGNAM=smc_music
VERSION=${VERSION:-4.1}
# The music pack file name
# This is not always consistent, so check it
MUSICPACK=${MUSICPACK:-SMC_[Mm]usic_${VERSION}_high.zip}
ARCH=noarch # Leave this alone
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# The music pack file name
# This is not always consistent, so check it
MUSICPACK=${MUSICPACK:-SMC_[Mm]usic_${VERSION}_high.zip}
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
@ -44,4 +43,4 @@ 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
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -2,7 +2,9 @@ PRGNAM="smc_music"
VERSION="4.1"
HOMEPAGE="http://www.secretmaryo.org/"
DOWNLOAD="http://downloads.sourceforge.net/smclone/SMC_Music_4.1_high.zip"
DOWNLOAD_x86_64=""
MD5SUM="f0d5fad6f1d0387bd909c93226698ba9"
MD5SUM_x86_64=""
MAINTAINER="Phillip Warner"
EMAIL="pc_warner@yahoo.com"
APPROVED="dsomero"