diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-08 17:21:23 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:39 +0700 |
commit | 7e3231a0591855284b1af0205dea0acaba4eafbe (patch) | |
tree | 4f0cc887f53666cd9bdaae938a17a59e1f61f9aa /games/gottet | |
parent | 39ca421fbd84691d04b3e843777d6f943fad6e9e (diff) |
games/gottet: Updated for version 1.2.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gottet')
-rw-r--r-- | games/gottet/README | 4 | ||||
-rw-r--r-- | games/gottet/gottet.SlackBuild | 43 | ||||
-rw-r--r-- | games/gottet/gottet.info | 6 | ||||
-rw-r--r-- | games/gottet/slack-desc | 6 |
4 files changed, 23 insertions, 36 deletions
diff --git a/games/gottet/README b/games/gottet/README index eb670fbd26ae5..2e2af20cf8e26 100644 --- a/games/gottet/README +++ b/games/gottet/README @@ -1 +1,3 @@ -gottet is a simple tetris clone. +gottet (A basic tetris clone) + +gottet is a simple tetris clone with a Qt user interface. diff --git a/games/gottet/gottet.SlackBuild b/games/gottet/gottet.SlackBuild index 86662b2453b73..924aa28664522 100644 --- a/games/gottet/gottet.SlackBuild +++ b/games/gottet/gottet.SlackBuild @@ -3,27 +3,14 @@ # Slackware build script for gottet # Originally written by: -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org - +# Ryan P.C. McQuen | Everett, WA | email removed # Now maintained by B. Watson (yalhcru@gmail.com) -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted. - -# This program is distributed in the hope that it will be useful, but -# without any warranty; without even the implied warranty of -# merchantability or fitness for a particular purpose. Compiling, -# interpreting, executing or merely reading the text of the program -# may result in lapses of consciousness and/or very being, up to and -# including the end of all existence and the Universe as we know it. -# See the GNU General Public License for more details. +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# You may have received a copy of the GNU General Public License along -# with this program (most likely, a file named COPYING). If not, see -# <http://www.gnu.org/licenses/>. +# 20211008 bkw: +# - relicensed with permission from Ryan. +# - update for v1.2.0. qt5 now in Slackware... # 20170309 bkw: # - take over maintenance @@ -37,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gottet -VERSION=${VERSION:-1.0.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,9 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -86,17 +70,18 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# 20211008 bkw: upstream now includes a man page, put it in the right place. +sed -i 's,share/man,man,' $PRGNAM.pro -qmake PREFIX=/usr BINDIR=games +qmake-qt5 PREFIX=/usr BINDIR=games sed -i "s,-O2,$SLKCFLAGS," Makefile make make install INSTALL_ROOT=$PKG strip $PKG/usr/games/$PRGNAM +gzip $PKG/usr/man/man*/*.* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog CREDITS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/gottet/gottet.info b/games/gottet/gottet.info index e5e178dcaca0d..d606753ff9638 100644 --- a/games/gottet/gottet.info +++ b/games/gottet/gottet.info @@ -1,8 +1,8 @@ PRGNAM="gottet" -VERSION="1.0.6" +VERSION="1.2.0" HOMEPAGE="https://gottcode.org/gottet/" -DOWNLOAD="https://gottcode.org/gottet/gottet-1.0.6-src.tar.bz2" -MD5SUM="cacc0861304ee161451bb4ea3c8246d9" +DOWNLOAD="https://gottcode.org/gottet/gottet-1.2.0-src.tar.bz2" +MD5SUM="58156a38b2b28548810cda1f960a5ac0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/gottet/slack-desc b/games/gottet/slack-desc index 8aea0e1cd98dd..1111e333a5734 100644 --- a/games/gottet/slack-desc +++ b/games/gottet/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -gottet: gottet (A basic tetris clone) +gottet: gottet (a basic tetris clone) +gottet: +gottet: gottet is a simple tetris clone with a Qt user interface. gottet: -gottet: gottet is a simple tetris clone. gottet: gottet: gottet: gottet: gottet: gottet: -gottet: http://gottcode.org/gottet/ gottet: |