summaryrefslogtreecommitdiff
path: root/games/tmwmusic/tmwmusic.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 23:29:34 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:29:34 +0200
commit6eb3c30427dd9a9d3d7fa0906de33e6097313bb3 (patch)
tree55d4b5b1db0942264c8d13e9fd5490bb606a175a /games/tmwmusic/tmwmusic.SlackBuild
parent8b9f7f9e3ec8162500ee9ccf1972726fe8efc9f9 (diff)
downloadslackbuilds-6eb3c30427dd9a9d3d7fa0906de33e6097313bb3.tar.gz
games/tmwmusic: Added to 12.2 repository
Diffstat (limited to 'games/tmwmusic/tmwmusic.SlackBuild')
-rw-r--r--games/tmwmusic/tmwmusic.SlackBuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/tmwmusic/tmwmusic.SlackBuild b/games/tmwmusic/tmwmusic.SlackBuild
new file mode 100644
index 0000000000..5fd15982aa
--- /dev/null
+++ b/games/tmwmusic/tmwmusic.SlackBuild
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# Slackware build script for tmwmusic
+# Written by Erik Hanson erik@slackbuilds.org
+
+PRGNAM=tmwmusic
+VERSION=0.2
+ARCH=noarch
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+mkdir -p $PKG/usr/share/tmw/data/music
+cp -av data/music/* $PKG/usr/share/tmw/data/music/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz