diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2016-10-13 17:20:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-13 17:20:15 +0700 |
commit | 6f1ee96f4e56707893e670fca82d02b4746a52f3 (patch) | |
tree | bf5e31848a9f4ee8b96693af9678bf824af7af5c /games/hexalate | |
parent | 8cd3db79c16bb4521751a004d0b079858cd2662b (diff) |
games/hexalate: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hexalate')
-rw-r--r-- | games/hexalate/hexalate.SlackBuild | 27 | ||||
-rw-r--r-- | games/hexalate/hexalate.info | 8 |
2 files changed, 19 insertions, 16 deletions
diff --git a/games/hexalate/hexalate.SlackBuild b/games/hexalate/hexalate.SlackBuild index 8c3270c172dfb..ea837fdcaa0b3 100644 --- a/games/hexalate/hexalate.SlackBuild +++ b/games/hexalate/hexalate.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2013-2014 LEVAI Daniel +# Copyright (c) 2013-2016 LEVAI Daniel # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,13 +28,13 @@ # Build script for hexalate PRGNAM=hexalate -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ];then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ];then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,24 +69,27 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir build cd build -qmake PREFIX=$PKG/usr ../ +qmake-qt5 PREFIX=$PKG/usr ../ CFLAGS="$SLKCFLAGS" make make install cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -cp -a ChangeLog COPYING CREDITS INSTALL \ - $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a ChangeLog COPYING CREDITS INSTALL $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chmod 0644 {} \; +mv $PKG/usr/share/man $PKG/usr/ +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/games/hexalate/hexalate.info b/games/hexalate/hexalate.info index 8bf5094c42841..32778014a6d6f 100644 --- a/games/hexalate/hexalate.info +++ b/games/hexalate/hexalate.info @@ -1,10 +1,10 @@ PRGNAM="hexalate" -VERSION="1.0.3" +VERSION="1.1.0" HOMEPAGE="http://gottcode.org/hexalate/" -DOWNLOAD="http://gottcode.org/hexalate/hexalate-1.0.3-src.tar.bz2" -MD5SUM="2a5415c115b5ab3d319069ca3ae80c57" +DOWNLOAD="http://gottcode.org/hexalate/hexalate-1.1.0-src.tar.bz2" +MD5SUM="35b456a2770d4b4fc5dee8040620102e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt5" MAINTAINER="LEVAI Daniel" EMAIL="leva@ecentrum.hu" |