summaryrefslogtreecommitdiff
path: root/games/qmc2/qmc2.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2020-02-08 17:22:54 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-15 10:36:47 +0700
commit04d522c6bf846dc7f1b65c1bfa3a46727369e80a (patch)
treeb796dc0666ab08a28e4195a5cb83b1c54ca1662d /games/qmc2/qmc2.SlackBuild
parent520ac3d615b6f8c354d76b568e6cd50067e3f0a2 (diff)
downloadslackbuilds-04d522c6bf846dc7f1b65c1bfa3a46727369e80a.tar.gz
games/qmc2: Updated for version 0.195.
Diffstat (limited to 'games/qmc2/qmc2.SlackBuild')
-rw-r--r--games/qmc2/qmc2.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/games/qmc2/qmc2.SlackBuild b/games/qmc2/qmc2.SlackBuild
index b0710d48ce..72c2e64051 100644
--- a/games/qmc2/qmc2.SlackBuild
+++ b/games/qmc2/qmc2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for QMC2
-# Copyright 2010-2017 Erik Hanson, Minneapolis, MN, USA
+# Copyright 2010-2020 Erik Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qmc2
-VERSION=${VERSION:-0.187}
+VERSION=${VERSION:-0.195}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,11 +78,19 @@ CXX_FLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
make EMU=MAME PREFIX=/usr PRETTY=0 MACHINE=$ARCH
make install EMU=MAME PREFIX=/usr DESTDIR=$PKG
+cd tools/qchdman
+qmake qchdman.pro
+make
+install -D -m 0755 qchdman $PKG/usr/bin/qchdman
+cd -
+
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/pixmaps/qmc2.png
+#install -D -m 0644 $CWD/qmc2.desktop $PKG/usr/share/applications/qmc2.desktop
+#install -D -m 0644 $CWD/qmc2.png $PKG/usr/share/pixmaps/qmc2.png
+install -D -m 0644 $CWD/qchdman.desktop $PKG/usr/share/applications/qchman.desktop
+#install -D -m 0644 $CWD/qchdman.png $PKG/usr/share/pixmaps/qchdman.png
mv $PKG/etc/qmc2/qmc2.ini $PKG/etc/qmc2/qmc2.ini.new