summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-04-17 10:46:51 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:11:07 +0700
commit253e824e8940ecbe4986b7306e6738a16cf21067 (patch)
treedb5850fdb3684a5b430dc1e291f31fe24124f8ec /games
parent9171c67e14da3e5068bf9740aa064a120d153827 (diff)
downloadslackbuilds-253e824e8940ecbe4986b7306e6738a16cf21067.tar.gz
games/yetris: Updated for version 2.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/yetris/Makefile.patch16
-rw-r--r--games/yetris/yetris.SlackBuild7
-rw-r--r--games/yetris/yetris.info6
3 files changed, 7 insertions, 22 deletions
diff --git a/games/yetris/Makefile.patch b/games/yetris/Makefile.patch
deleted file mode 100644
index 93f8ae12f2..0000000000
--- a/games/yetris/Makefile.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- yetris-2.0.1/Makefile.original 2014-04-23 15:48:09.448984387 +0300
-+++ yetris-2.0.1/Makefile 2014-04-23 15:54:12.061451107 +0300
-@@ -49,11 +49,11 @@
-
- EXEC_PREFIX = $(PREFIX)
- DATAROOTDIR = $(PREFIX)/share
--MANROOT = $(DATAROOTDIR)/man
-+MANROOT = $(PREFIX)/man
-
- MANNUMBER = 6
-
--BINDIR = $(EXEC_PREFIX)/games
-+BINDIR = $(EXEC_PREFIX)/bin
- MANDIR = $(MANROOT)/man$(MANNUMBER)
-
- MANFILE = $(PACKAGE).$(MANNUMBER)
diff --git a/games/yetris/yetris.SlackBuild b/games/yetris/yetris.SlackBuild
index f57e27c7eb..c6bb7d32f9 100644
--- a/games/yetris/yetris.SlackBuild
+++ b/games/yetris/yetris.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yetris
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yetris
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,8 @@ 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 -p1 < $CWD/Makefile.patch
+# fix manpage path
+sed -i "s/DATAROOTDIR)\/man/EXEC_PREFIX)\/man/" Makefile
make
make install PREFIX=$PKG/usr
diff --git a/games/yetris/yetris.info b/games/yetris/yetris.info
index 876be39aa3..6cdb2e559d 100644
--- a/games/yetris/yetris.info
+++ b/games/yetris/yetris.info
@@ -1,8 +1,8 @@
PRGNAM="yetris"
-VERSION="2.1.0"
+VERSION="2.3.0"
HOMEPAGE="https://github.com/alexdantas/yetris"
-DOWNLOAD="https://github.com/alexdantas/yetris/archive/v2.1.0.tar.gz"
-MD5SUM="b90e703604660a952ee8cd539603eb51"
+DOWNLOAD="https://github.com/alexdantas/yetris/archive/v2.3.0.tar.gz"
+MD5SUM="2a503ccfc91c99910d53659dbfc14c5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""