summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorCRTS <crts [at] gmx [dot] net>2019-06-29 06:39:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-29 06:39:23 +0700
commitd52ca637594b751262b2312ef6e3912f42edfefb (patch)
treeaf52cc7a8e9a2cf7989ae1b80556c773d9f50c19 /games
parent8aea1abc06f895907faf50121bc92bb275815fca (diff)
downloadslackbuilds-d52ca637594b751262b2312ef6e3912f42edfefb.tar.gz
games/freedink: Update installation path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/freedink/README38
-rw-r--r--games/freedink/freedink.SlackBuild5
2 files changed, 23 insertions, 20 deletions
diff --git a/games/freedink/README b/games/freedink/README
index 97bd639f42..d22be85d15 100644
--- a/games/freedink/README
+++ b/games/freedink/README
@@ -1,10 +1,23 @@
-Freedink is a free role playing game in real time. You take
-control of Dink Smallwood and guide him through his many adventures.
-There are many battles to be fought and riddles to be solved.
-You can install additional adventures through additional D-Mods
-which are available at
+Freedink is a free role play game in real. You take
+control of Dink Smallwood and guide through his many adventures.
+There are many battles to fought and riddles to be solved.
+You can install additional advanture through additional D-Mods
+which are available at https://www.dinknetwork.com.
+
+Known issues:
+- Freedink might start in a maximized, not resizable window. Parts of
+ it may be outside the Desktop. If this happens then start the
+ program from CLI in windowed mode:
+
+ freedink -i -w
+
+ Afterwards you can switch to fullscreen by pressing Alt+Enter.
+
+- Not all music will be available. See this review (bottom) for
+ some more info on this matter:
+
+ https://www.dinknetwork.com/file/gnu_freedink/review/scratcher
- https://www.dinknetwork.com
Optional dependency:
- upx
@@ -21,16 +34,3 @@ Optional dependency:
UPX=/path/to/upx ./freedink.Slackbuild
-Known issues:
-- Freedink might start in a maximized, not resizable window. Parts of
- it may be outside the Desktop. If this happens then start the
- program from CLI in windowed mode:
-
- freedink -i -w
-
- Afterwards you can switch to fullscreen by pressing Alt+Enter.
-
-- Some midi files may not play. The game is still playable
- and the sound effects are all there but music may not
- always be available.
-
diff --git a/games/freedink/freedink.SlackBuild b/games/freedink/freedink.SlackBuild
index b5bcc65e3f..942030008c 100644
--- a/games/freedink/freedink.SlackBuild
+++ b/games/freedink/freedink.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for freedink
-# Copyright 2019 CRTS
+# Copyright 2019- CRTS
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -115,6 +115,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# install in /usr instead of /usr/local directory
+sed -i '/^[[:blank:]]*PREFIX=/s,/local$,,' Makefile
+
# no compilation required
make install DESTDIR=$PKG