From 4f40a4c78945796b598a3e4c5583f40b68a3e4f4 Mon Sep 17 00:00:00 2001 From: Marcel Saegebarth Date: Fri, 30 Jan 2015 14:30:40 +0100 Subject: games/qtsixa: copyright year + cleanup Signed-off-by: Willy Sudiarto Raharjo --- games/qtsixa/doinst.sh | 3 ++- games/qtsixa/qtsixa.SlackBuild | 8 ++++---- games/qtsixa/sixad-shared-h.patch | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 15 deletions(-) (limited to 'games') diff --git a/games/qtsixa/doinst.sh b/games/qtsixa/doinst.sh index 1d5f2a2178..b7bc7f18fa 100644 --- a/games/qtsixa/doinst.sh +++ b/games/qtsixa/doinst.sh @@ -4,7 +4,8 @@ config() { # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy for the admin to consider... diff --git a/games/qtsixa/qtsixa.SlackBuild b/games/qtsixa/qtsixa.SlackBuild index 2a8357a087..5c1ae729cb 100644 --- a/games/qtsixa/qtsixa.SlackBuild +++ b/games/qtsixa/qtsixa.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# SlackBuild script for "qtsixa". +# Slackware build script for "qtsixa". -# Copyright 2013 Marcel Saegebarth +# Copyright 2013-2015 Marcel Saegebarth # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qtsixa -VERSION=1.5.1 +VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" diff --git a/games/qtsixa/sixad-shared-h.patch b/games/qtsixa/sixad-shared-h.patch index 7459e7b154..ece0ab51e7 100644 --- a/games/qtsixa/sixad-shared-h.patch +++ b/games/qtsixa/sixad-shared-h.patch @@ -1,11 +1,11 @@ ---- sixad/shared.h.orig 2011-10-12 02:37:38.000000000 +0200 -+++ sixad/shared.h 2012-04-10 13:36:49.119637000 +0200 -@@ -18,6 +18,8 @@ - #ifndef SHARED_H - #define SHARED_H - -+#include -+ - struct dev_led { - bool enabled; +--- sixad/shared.h.orig 2011-10-12 02:37:38.000000000 +0200 ++++ sixad/shared.h 2012-04-10 13:36:49.119637000 +0200 +@@ -18,6 +18,8 @@ + #ifndef SHARED_H + #define SHARED_H + ++#include ++ + struct dev_led { + bool enabled; bool anim; \ No newline at end of file -- cgit v1.2.3