From d52ca637594b751262b2312ef6e3912f42edfefb Mon Sep 17 00:00:00 2001 From: CRTS Date: Sat, 29 Jun 2019 06:39:23 +0700 Subject: games/freedink: Update installation path. Signed-off-by: Willy Sudiarto Raharjo --- games/freedink/README | 38 +++++++++++++++++++------------------- games/freedink/freedink.SlackBuild | 5 ++++- 2 files changed, 23 insertions(+), 20 deletions(-) (limited to 'games') 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 -- cgit v1.2.3