From b1417a62855ba37a0c72f6dcaba07b97abcc10f4 Mon Sep 17 00:00:00 2001
From: "B. Watson" <yalhcru@gmail.com>
Date: Fri, 17 Jul 2020 02:10:16 -0400
Subject: games/eureka: Updated for version 1.27b.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 games/eureka/eureka.SlackBuild | 8 ++++++--
 games/eureka/eureka.info       | 6 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

(limited to 'games/eureka')

diff --git a/games/eureka/eureka.SlackBuild b/games/eureka/eureka.SlackBuild
index e44197f39b520..7aeae46b4bf08 100644
--- a/games/eureka/eureka.SlackBuild
+++ b/games/eureka/eureka.SlackBuild
@@ -23,13 +23,15 @@
 #  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 #  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+# 20200717 bkw: update for v1.27b
+
 # 20200415 bkw:
 # - take over maintenance
 # - i486 => i586
 # - update for v1.24
 
 PRGNAM=eureka
-VERSION=${VERSION:-1.24}
+VERSION=${VERSION:-1.27b}
 SRCVER=${VERSION/.}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
@@ -67,7 +69,8 @@ rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf eureka-$VERSION-source
-tar xvf $CWD/eureka-$SRCVER-source.tar.gz
+tar xvf $CWD/eureka-$SRCVER-source.tar.gz || \
+tar xvf $CWD/eureka-$VERSION-source.tar.gz
 cd eureka-$VERSION-source
 chown -R root:root .
 find -L .  -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -82,6 +85,7 @@ sed -i -e 's,\<bin\>,games,g' \
 LINKER_FLAGS="\
    -lfltk \
    -lfltk_images \
+   -lfltk_gl \
    -lX11 \
    -ldl \
    -lXfixes \
diff --git a/games/eureka/eureka.info b/games/eureka/eureka.info
index 18d1513a9f41a..42ea041c67a8b 100644
--- a/games/eureka/eureka.info
+++ b/games/eureka/eureka.info
@@ -1,8 +1,8 @@
 PRGNAM="eureka"
-VERSION="1.24"
+VERSION="1.27b"
 HOMEPAGE="http://eureka-editor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/eureka-editor/Eureka/1.24/eureka-124-source.tar.gz"
-MD5SUM="690d64ea32b2b4bbe081e2c079936c1f"
+DOWNLOAD="http://downloads.sourceforge.net/project/eureka-editor/Eureka/1.27/eureka-1.27b-source.tar.gz"
+MD5SUM="ded6495c09e23bfe55513eb47abf17ea"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="fltk"
-- 
cgit v1.2.3