summaryrefslogtreecommitdiff
path: root/games/knights/knights.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-08-10 02:16:20 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:47 +0700
commitb1911d70d92b4152e3f0fab118bd82914d5859da (patch)
tree40063edbf6642ef9a02410c4c349605ef398214e /games/knights/knights.SlackBuild
parentad08b383f13c05101ff7697f0f60a59be9c6858e (diff)
downloadslackbuilds-b1911d70d92b4152e3f0fab118bd82914d5859da.tar.gz
games/knights: Minor cleanups.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/knights/knights.SlackBuild')
-rw-r--r--games/knights/knights.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/games/knights/knights.SlackBuild b/games/knights/knights.SlackBuild
index 6c8712f38a..d4a1f1c9f8 100644
--- a/games/knights/knights.SlackBuild
+++ b/games/knights/knights.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for knights
# Copyright 2011, 2012 Chris Abela, Malta
-# Copyright 2014 Ryan P.C. McQuen, ryanpcmcquen@member.fsf.org, WA
+# Copyright 2014 Ryan P.C. McQuen, <email removed>, WA
# Now maintained by B. Watson (yalhcru@gmail.com)
#
# All rights reserved.
@@ -25,6 +25,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20170810 bkw:
+# - install HTML docs in /usr/doc, not /usr/share/doc
+# - fix README and slack-desc typos
+# - remove long-dead homepage link from slack-desc
+# - BUILD=3
+
# 20170309 bkw:
# - take over maintenance
# - i486 => i586
@@ -33,7 +39,7 @@
PRGNAM=knights
VERSION=${VERSION:-2.5.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -88,7 +94,7 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DBIN_INSTALL_DIR=/usr/games \
-DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1
+ make VERBOSE=1
make install/strip DESTDIR=$PKG
cd ..
@@ -97,6 +103,9 @@ cd ..
# ...but most of the existing files there from other packages are +x,
# not sure if KDE cares about the permissions but I'll leave it as-is.
+# 20170810 bkw: don't install to /usr/share/doc
+mv $PKG/usr/share/doc $PKG/usr/doc
+
mkdir -p $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