aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2016-07-26 20:52:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit4bf1502d8d071e2467ad2f0963297628962e98d3 (patch)
tree74220e1137876f4118fd06012a030f6b551e4487
parent784e2cddc65170f2ab7ab7720cab95efaa2619ed (diff)
games/antimicro: Updated for version 2.20.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/antimicro/README20
-rw-r--r--games/antimicro/antimicro.SlackBuild11
-rw-r--r--games/antimicro/antimicro.info8
-rw-r--r--games/antimicro/slack-desc2
4 files changed, 30 insertions, 11 deletions
diff --git a/games/antimicro/README b/games/antimicro/README
index c29b8d1f04d1a..57406c7e638ae 100644
--- a/games/antimicro/README
+++ b/games/antimicro/README
@@ -1,2 +1,18 @@
-Antimicro is a GUI application to intercept gamepad signals and translate them to keyboard events
-so that you can control games that do not have native gamepad support.
+Antimicro is a GUI application to intercept gamepad signals and
+translate them to keyboard events, so that you can control games that
+do not have native gamepad support.
+
+It works for games you're playing on Linux or with WINE.
+
+https://github.com/AntiMicro/antimicro
+
+
+Profiles
+--------
+
+Some pre-built game controller profiles are available here:
+
+https://github.com/AntiMicro/antimicro-profiles
+
+These allow you to download button mappings for popular games so that
+you don't have to configure them yourself.
diff --git a/games/antimicro/antimicro.SlackBuild b/games/antimicro/antimicro.SlackBuild
index 2016e9e2195eb..f86b00b71fcdf 100644
--- a/games/antimicro/antimicro.SlackBuild
+++ b/games/antimicro/antimicro.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# Slackware build script for antimicro
-# Copyright 2015 Klaatu Wellington, NZ
+# Copyright 2015-2016 Klaatu Wellington, NZ
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -9,7 +9,7 @@
# without any warranty.
PRGNAM=antimicro
-VERSION=${VERSION:-2.14}
+VERSION=${VERSION:-2.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION
+tar xf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -82,7 +82,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
cat other/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md gpl.txt Resources.txt other/40-uinput.rules $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md gpl.txt Resources.txt \
+ other/40-uinput.rules \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/antimicro/antimicro.info b/games/antimicro/antimicro.info
index 5448856184a16..b15bd9fdfbcfd 100644
--- a/games/antimicro/antimicro.info
+++ b/games/antimicro/antimicro.info
@@ -1,8 +1,8 @@
PRGNAM="antimicro"
-VERSION="2.14"
-HOMEPAGE="https://github.com/Ryochan7/antimicro"
-DOWNLOAD="https://codeload.github.com/Ryochan7/antimicro/zip/2.14"
-MD5SUM="49b37fe7c51bfb893bd0b6cea2957f39"
+VERSION="2.20"
+HOMEPAGE="https://github.com/AntiMicro/antimicro"
+DOWNLOAD="https://github.com/AntiMicro/antimicro/archive/2.20/antimicro-2.20.tar.gz"
+MD5SUM="cf6ae291684155605a9b700af9371810"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2"
diff --git a/games/antimicro/slack-desc b/games/antimicro/slack-desc
index 9a302f7c7b61c..252de50d22e06 100644
--- a/games/antimicro/slack-desc
+++ b/games/antimicro/slack-desc
@@ -12,7 +12,7 @@ antimicro: Antimicro is a graphical program used to map keyboard keys and mouse
antimicro: controls to a gamepad. Useful for playing PC games with no gamepad
antimicro: or poor gamepad support.
antimicro:
-antimicro: http://github.com/Ryochan7/antimicro
+antimicro: http://github.com/AntiMicro/antimicro
antimicro:
antimicro:
antimicro: