diff options
Diffstat (limited to 'academic/kurso/kurso.SlackBuild')
-rw-r--r-- | academic/kurso/kurso.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/academic/kurso/kurso.SlackBuild b/academic/kurso/kurso.SlackBuild index 0717647c41..f66dc9d79b 100644 --- a/academic/kurso/kurso.SlackBuild +++ b/academic/kurso/kurso.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=kurso VERSION=${VERSION:-4.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCTARNAM=kurso4_source SRCNAM=kurso4 @@ -73,7 +73,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 {} \; -patch -p2 < $CWD/datadir.patch +sed -i -e '/.*Loko = QApplication.*/i \ /*\r' \ + -e '/Loko.append.*/a \ */\r\n Loko = "/usr/share/kurso/";\r' \ + main.cpp qmake \ QMAKE_CFLAGS="$SLKCFLAGS" \ |