diff options
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 2016e9e219..f86b00b71f 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 |