summaryrefslogtreecommitdiff
path: root/games/qmc2/qmc2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/qmc2/qmc2.SlackBuild')
-rw-r--r--games/qmc2/qmc2.SlackBuild10
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