diff options
author | Matteo Bernardini | 2020-06-28 11:40:19 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-06-28 11:40:19 +0200 |
commit | 6a78d79727ca87479d936e6f69ac67bf907b0d71 (patch) | |
tree | e7d1e5f89ac839b8816dffdb72101de6924eb333 /games/supertux/supertux.SlackBuild | |
parent | 039623ea867a44e41cbf62cada3efca35cd703b8 (diff) | |
download | slackbuilds-6a78d79727ca87479d936e6f69ac67bf907b0d71.tar.gz |
20200628.1 global branch merge.current-20200628.1
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 122b06e07b..e3f5b251f2 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 \ |