diff options
author | Klaatu <klaatu@member.fsf.org> | 2016-07-26 20:52:59 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-30 08:28:31 +0700 |
commit | 4bf1502d8d071e2467ad2f0963297628962e98d3 (patch) | |
tree | 74220e1137876f4118fd06012a030f6b551e4487 /games/antimicro/antimicro.SlackBuild | |
parent | 784e2cddc65170f2ab7ab7720cab95efaa2619ed (diff) |
games/antimicro: Updated for version 2.20.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/antimicro/antimicro.SlackBuild')
-rw-r--r-- | games/antimicro/antimicro.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
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 |