games/knights: New Maintainer + Script cleanup.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-04-03 11:39:17 +07:00 committed by Willy Sudiarto Raharjo
parent 4203a4e8a9
commit 6186c50b02
2 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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"