aboutsummaryrefslogtreecommitdiff
path: root/games/knights
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-04-03 11:39:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:43:49 +0700
commit6186c50b029189c77ba0da50d1d76d1273e1e2b9 (patch)
treea1d73530e3c0f3d82991702828b5e58a2c674e54 /games/knights
parent4203a4e8a9860edf42c0ae1886d6b378d3e6e9b4 (diff)
games/knights: New Maintainer + Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/knights')
-rw-r--r--games/knights/knights.SlackBuild13
-rw-r--r--games/knights/knights.info8
2 files changed, 11 insertions, 10 deletions
diff --git a/games/knights/knights.SlackBuild b/games/knights/knights.SlackBuild
index 2411604e90c30..921ce42c31f24 100644
--- a/games/knights/knights.SlackBuild
+++ b/games/knights/knights.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for knights
# Copyright 2011, 2012 Chris Abela, Malta
+# Copyright 2014 Ryan P.C. McQuen, ryan.q@linux.com, WA
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
mkdir -p build
cd build
@@ -86,8 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- DESIGN README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a DESIGN README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/knights/knights.info b/games/knights/knights.info
index cfb6c9a2f9b94..4a9d4d113a41c 100644
--- a/games/knights/knights.info
+++ b/games/knights/knights.info
@@ -1,10 +1,10 @@
PRGNAM="knights"
VERSION="2.5.0"
-HOMEPAGE="http://noughmad.eu/knights"
-DOWNLOAD="http://dl.dropbox.com/u/2888238/Knights/knights-2.5.0.tar.bz2"
+HOMEPAGE="http://kde-apps.org/content/show.php/Knights?content=122046"
+DOWNLOAD="http://dl.dropboxusercontent.com/u/2888238/Knights/knights-2.5.0.tar.bz2"
MD5SUM="58237998aeee8b6414f6e6f92d070395"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Chris Abela"
-EMAIL="kristofru@gmail.com"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"