diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-13 00:27:06 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:27:06 +0200 |
commit | c6a880594ca700a9b46ba5f38753e461a4bc8fe4 (patch) | |
tree | 1a004704f723c5ff96b236ceed7df52b3ef13c46 /games/smc_music | |
parent | cdf1299955ee9b0360a3a5a5369fd04280a6bdfe (diff) |
games/smc_music: Updated for version 4.1
Diffstat (limited to 'games/smc_music')
-rw-r--r-- | games/smc_music/smc_music.SlackBuild | 17 | ||||
-rw-r--r-- | games/smc_music/smc_music.info | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/games/smc_music/smc_music.SlackBuild b/games/smc_music/smc_music.SlackBuild index 404b9d4a072a3..987ca1c5bf917 100644 --- a/games/smc_music/smc_music.SlackBuild +++ b/games/smc_music/smc_music.SlackBuild @@ -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} diff --git a/games/smc_music/smc_music.info b/games/smc_music/smc_music.info index 9732e00d2d3bd..354a4c1ad917e 100644 --- a/games/smc_music/smc_music.info +++ b/games/smc_music/smc_music.info @@ -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" |