diff options
author | Kevin Paulus <goarilla@gmail.com> | 2016-08-05 07:20:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-05 07:20:46 +0700 |
commit | ac8d4ef4f017c6ebe470d19767b4ca214725374c (patch) | |
tree | 9c3846657b17404f8cc05bc49e0c4c5349149ed5 /games/warsow | |
parent | b4fbcf63d055b44d11b164fb66b2e4856f71c354 (diff) |
games/warsow: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/warsow')
-rw-r--r-- | games/warsow/warsow.SlackBuild | 32 | ||||
-rw-r--r-- | games/warsow/warsow.info | 10 |
2 files changed, 18 insertions, 24 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild index 39fdda2ecf835..5d882a06da955 100644 --- a/games/warsow/warsow.SlackBuild +++ b/games/warsow/warsow.SlackBuild @@ -24,7 +24,7 @@ # Updated by goarilla <goarilla@gmail.com> PRGNAM=warsow -VERSION=${VERSION:-2.01} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,38 +60,32 @@ mkdir -p "${PKG}/usr/share/${PRGNAM}" mkdir -p "${PKG}/usr/doc/${PRGNAM}-${VERSION}" # no parent directory -SDK="warsow_201_sdk.tar.gz" +SDK="warsow_21_sdk.tar.gz" # ./warsow_20 -DATA="warsow_201_unified.tar.gz" +DATA="warsow_21_unified.tar.gz" -tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" warsow_20/docs/ -mv "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_20/docs/"* "${PKG}/usr/doc/${PRGNAM}-${VERSION}/" -rm -rf "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_20/" -tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" warsow_20/basewsw -mv "${PKG}/usr/share/${PRGNAM}/warsow_20/"* "${PKG}/usr/share/${PRGNAM}" -rm -rf "${PKG}/usr/share/${PRGNAM}/warsow_20/" +tar -C "${PKG}/usr/doc/${PRGNAM}-${VERSION}" -xvf "$DATA" ./warsow_21/docs/ +mv "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_21/docs/"* "${PKG}/usr/doc/${PRGNAM}-${VERSION}/" +rm -rf "${PKG}/usr/doc/${PRGNAM}-${VERSION}/warsow_21/" +tar -C "${PKG}/usr/share/${PRGNAM}" -xvf "$DATA" ./warsow_21/basewsw +mv "${PKG}/usr/share/${PRGNAM}/warsow_21/"* "${PKG}/usr/share/${PRGNAM}" +rm -rf "${PKG}/usr/share/${PRGNAM}/warsow_21/" # unpack sdk -tar -C "${TMP}/${PRGNAM}-${VERSION}" -xvf "$SDK" +tar -C "${TMP}/${PRGNAM}-${VERSION}" -xvf "$SDK" warsow_21_sdk/ # build cd "${TMP}/${PRGNAM}-${VERSION}" -cd source/source -cmake . +cd warsow_21_sdk/source/source +cmake -DQFUSION_GAME="Warsow" . make # copy build -cp -rf build/ "${PKG}/usr/share/${PRGNAM}/" +cp -rf build/wsw* build/warsow* build/libs "${PKG}/usr/share/${PRGNAM}/" # shuffle some files cd "$PKG" cd "usr/share/${PRGNAM}" -mv basewsw basewsw.old -mv build/* . -mv basewsw/* basewsw.old/ -rm -rf basewsw/ -mv basewsw.old/ basewsw/ -rm -rf build cp "${CWD}/${PRGNAM}.SlackBuild" "${PKG}/usr/doc/${PRGNAM}-${VERSION}" # fix permissions of executables diff --git a/games/warsow/warsow.info b/games/warsow/warsow.info index 6766991f9d4d1..24958216bf0e9 100644 --- a/games/warsow/warsow.info +++ b/games/warsow/warsow.info @@ -1,10 +1,10 @@ PRGNAM="warsow" -VERSION="2.01" +VERSION="2.1" HOMEPAGE="http://www.warsow.net/" -DOWNLOAD="http://update.warsow.net/mirror/warsow_201_unified.tar.gz \ - http://update.warsow.net/mirror/warsow_201_sdk.tar.gz" -MD5SUM="fee194075847f9a2508f65da89b6cfea \ - e66809592094f45ec853b460ccaaa579" +DOWNLOAD="http://update.warsow.net/mirror/warsow_21_unified.tar.gz \ + http://update.warsow.net/mirror/warsow_21_sdk.tar.gz" +MD5SUM="fac70b30d7295c0bc4c3f0432c4b7937 \ + 56c02b5e9bd6f921fbc980e868c2b48d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL SDL2" |