diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-05-10 11:01:01 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:00:59 -0500 |
commit | 404b75b9a1eb5a478ad03dd5565fa74120017f15 (patch) | |
tree | 77026bf041f4a041db19ab8aff09e6cfe5aea91a /games/supertux/supertux.SlackBuild | |
parent | 468ba087a34cb6207287f986988ec510e4f54ee2 (diff) |
games/supertux: Updated for version 0.6.2_rc.1.
Added a patch for boost >= 1.73.0
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/supertux/supertux.SlackBuild')
-rw-r--r-- | games/supertux/supertux.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild index 122b06e07b940..e3f5b251f2ce2 100644 --- a/games/supertux/supertux.SlackBuild +++ b/games/supertux/supertux.SlackBuild @@ -25,7 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=supertux -VERSION=${VERSION:-0.6.1} +VERSION=${VERSION:-0.6.2_rc.1} +SRCVERSION=$(echo $VERSION | tr _ - ) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,9 +62,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/SuperTux-v$VERSION-Source.tar.gz -cd SuperTux-v$VERSION-Source +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/SuperTux-v$SRCVERSION-Source.tar.gz +cd SuperTux-v$SRCVERSION-Source chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -71,6 +72,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/supertux-0.6.2_rc1-boost-1.73.patch + mkdir -p build cd build cmake \ |