summaryrefslogtreecommitdiff
path: root/games/freedink/freedink.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/freedink/freedink.SlackBuild')
-rw-r--r--games/freedink/freedink.SlackBuild5
1 files changed, 4 insertions, 1 deletions
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