[Slackbuilds-users] Small kurso correction

T3slider t3slider at gmail.com
Mon Jun 15 02:05:50 UTC 2015


I missed a small detail on the kurso SlackBuild (which has now been
approved, so I can't remove it). In the kurso shell script, lib64 is
hard-coded. I have attached a patch to the SlackBuild (one additional
line) to fix this but if it is easier to pull it then I can resubmit
instead. Sorry for missing this! Without the fix the package may still
work in KDE on 32-bit systems but it will not work outside of KDE.
-------------- next part --------------
diff --git a/kurso.SlackBuild b/kurso.SlackBuild
index cdd159e..ad1c8d1 100755
--- a/kurso.SlackBuild
+++ b/kurso.SlackBuild
@@ -118,6 +118,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
 
 install -m 755 -t $PKG/usr/bin $CWD/kurso
+sed -i "s/64/${LIBDIRSUFFIX}/" $PKG/usr/bin/kurso
 for i in 16 24 32 48 64 128 256
 do
     install -D -m 0644 $CWD/icons/kurso${i}.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/kurso.png


More information about the SlackBuilds-users mailing list