summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/smc_music/smc_music.SlackBuild17
-rw-r--r--games/smc_music/smc_music.info2
2 files changed, 10 insertions, 9 deletions
diff --git a/games/smc_music/smc_music.SlackBuild b/games/smc_music/smc_music.SlackBuild
index 404b9d4a07..987ca1c5bf 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 9732e00d2d..354a4c1ad9 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"