diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-07-09 12:54:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-10 02:17:58 -0500 |
commit | 112eb3dc8d8d7f259ca00e92c544e7004a614773 (patch) | |
tree | df330c44297324678198c23298287fcc885b33a5 /games/qmc2/qmc2.SlackBuild | |
parent | 6f8febc32df09fd640f027344c9f22dd88ffe687 (diff) | |
download | slackbuilds-112eb3dc8d8d7f259ca00e92c544e7004a614773.tar.gz |
games/qmc2: Updated for version 0.2.b15.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/qmc2/qmc2.SlackBuild')
-rw-r--r-- | games/qmc2/qmc2.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/qmc2/qmc2.SlackBuild b/games/qmc2/qmc2.SlackBuild index 1c4dcfb381..2953aad752 100644 --- a/games/qmc2/qmc2.SlackBuild +++ b/games/qmc2/qmc2.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# + # Slackware build script for Google QMC2 # Copyright 2010 Erik Hanson, Minneapolis, MN, USA @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qmc2 -VERSION=0.2.b13 +VERSION=0.2.b15 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -48,6 +46,8 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" fi set -eu @@ -75,7 +75,7 @@ find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \ | xargs strip --strip-unneeded 2> /dev/null install -D -m 0644 $CWD/qmc2.desktop $PKG/usr/share/applications/qmc2.desktop -install -D -m 0644 $CWD/qmc2.png $PKG/usr/share/icons/qmc2.png +install -D -m 0644 $CWD/qmc2.png $PKG/usr/share/pixmaps/qmc2.png mv $PKG/etc/qmc2/qmc2.ini $PKG/etc/qmc2/qmc2.ini.new |