diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2015-01-30 14:30:40 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-31 06:57:48 +0700 |
commit | 4f40a4c78945796b598a3e4c5583f40b68a3e4f4 (patch) | |
tree | 67e02fc4483ec64012f2e0b886eefea9e0d4f6d1 /games | |
parent | d6408a1a2a605a76ab255e437c2b4e1a8702d1b0 (diff) |
games/qtsixa: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/qtsixa/doinst.sh | 3 | ||||
-rw-r--r-- | games/qtsixa/qtsixa.SlackBuild | 8 | ||||
-rw-r--r-- | games/qtsixa/sixad-shared-h.patch | 20 |
3 files changed, 16 insertions, 15 deletions
diff --git a/games/qtsixa/doinst.sh b/games/qtsixa/doinst.sh index 1d5f2a217836c..b7bc7f18fa37c 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 2a8357a0876b0..5c1ae729cb5cd 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 <marc@mos6581.de> +# Copyright 2013-2015 Marcel Saegebarth <marc@mos6581.de> # 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 7459e7b154f0c..ece0ab51e7280 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 <unistd.h>
-+
- 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 <unistd.h> ++ + struct dev_led { + bool enabled; bool anim;
\ No newline at end of file |