summaryrefslogtreecommitdiffstats
path: root/system/flashcards/flashcards.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2020-01-17 23:09:25 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 12:25:23 +0700
commit822fed53a10e692911b210892d87f817400b26b1 (patch)
tree5f62a72b25db73d5b34200564888cbc26da69aa0 /system/flashcards/flashcards.SlackBuild
parenta31fe40dd0217a1172b8d8f15c3ad956b2f18547 (diff)
downloadslackbuilds-822fed53a10e692911b210892d87f817400b26b1.tar.gz
slackbuilds-822fed53a10e692911b210892d87f817400b26b1.tar.xz
system/flashcards: Fix app failing to start.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to '')
-rw-r--r--system/flashcards/flashcards.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/flashcards/flashcards.SlackBuild b/system/flashcards/flashcards.SlackBuild
index 73fd70a471..16b56a16bb 100644
--- a/system/flashcards/flashcards.SlackBuild
+++ b/system/flashcards/flashcards.SlackBuild
@@ -69,6 +69,12 @@ 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 {} \;
+# 20200117 bkw: this has apparently been broken for a LONG time. It
+# complains that there's no "distribution" called argparse... but
+# argparse ships with Slackware. Also, application fails to start if
+# $HOME/Documents doesn't already exist. Patch fixes both issues.
+patch -p1 < $CWD/fixes.diff
+
python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \