Skip to content

Commit ecbcafb

Browse files
committed
games/eureka: Use latest snapshot.
Signed-off-by: Willy Sudiarto Raharjo <[email protected]>
1 parent eb64977 commit ecbcafb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

games/eureka/eureka.SlackBuild

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cd $(dirname $0) ; CWD=$(pwd)
4242

4343
PRGNAM=eureka
4444
VERSION=${VERSION:-2.0.2}
45+
GITVER=bdd8b4e0ee7e0ffc50907526bf45d149f8c0639a
4546
BUILD=${BUILD:-1}
4647
TAG=${TAG:-_SBo}
4748
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +71,9 @@ set -e
7071
rm -rf $PKG
7172
mkdir -p $TMP $PKG $OUTPUT
7273
cd $TMP
73-
SRCDIR=eureka-editor-eureka-$VERSION
74+
SRCDIR=eureka-editor-$GITVER
7475
rm -rf $SRCDIR
75-
tar xvf $CWD/$SRCDIR.tar.gz
76+
unzip $CWD/$SRCDIR.zip
7677
cd $SRCDIR
7778
chown -R root:root .
7879
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -90,6 +91,7 @@ cd build
9091
-DCMAKE_INSTALL_PREFIX=/usr \
9192
-DBIN_DIR=/usr/games \
9293
-DENABLE_UNIT_TESTS=OFF \
94+
-DUSE_SYSTEM_FLTK=ON \
9395
-DCMAKE_BUILD_TYPE=Release ..
9496
make
9597
make install/strip DESTDIR=$PKG
@@ -107,6 +109,8 @@ convert misc/$PRGNAM.xpm $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
107109

108110
mkdir -p $PKG/usr/man/man6
109111
gzip -9c < misc/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
112+
find $PKG/usr/man -type f -exec gzip -9 {} \;
113+
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
110114

111115
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
112116
sed -n '/^SETTING UP/,$p' INSTALL.txt > SETUP.txt

games/eureka/eureka.info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PRGNAM="eureka"
22
VERSION="2.0.2"
33
HOMEPAGE="http://eureka-editor.sourceforge.net/"
4-
DOWNLOAD="https://github.com/ioan-chera/eureka-editor/archive/eureka-2.0.2/eureka-editor-eureka-2.0.2.tar.gz"
5-
MD5SUM="4b7f29bbba547845ab2204b7887cdc59"
4+
DOWNLOAD="https://github.com/ioan-chera/eureka-editor/archive/bdd8b4e0ee7e0ffc50907526bf45d149f8c0639a/eureka-editor-bdd8b4e0ee7e0ffc50907526bf45d149f8c0639a.zip"
5+
MD5SUM="976ee661030bac048968feb6f06bc9c4"
66
DOWNLOAD_x86_64=""
77
MD5SUM_x86_64=""
88
REQUIRES="fltk"

0 commit comments

Comments
 (0)