summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-30 14:30:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 06:57:48 +0700
commit4f40a4c78945796b598a3e4c5583f40b68a3e4f4 (patch)
tree67e02fc4483ec64012f2e0b886eefea9e0d4f6d1
parentd6408a1a2a605a76ab255e437c2b4e1a8702d1b0 (diff)
downloadslackbuilds-4f40a4c78945796b598a3e4c5583f40b68a3e4f4.tar.gz
games/qtsixa: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/qtsixa/doinst.sh3
-rw-r--r--games/qtsixa/qtsixa.SlackBuild8
-rw-r--r--games/qtsixa/sixad-shared-h.patch20
3 files changed, 16 insertions, 15 deletions
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 <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 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 <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