diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-29 08:34:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-29 23:15:17 +0700 |
commit | cb23018b8f9adda62021ec769ead0e352ec9242a (patch) | |
tree | 9aa27a2d5210da4c213278af3195bee38f523ffe | |
parent | fdf61b9b17c28d365157c1491ffce30b56d8d8f1 (diff) | |
download | slackbuilds-cb23018b8f9adda62021ec769ead0e352ec9242a.tar.gz |
games/freeminer: Updated for version git7ad981.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/freeminer/freeminer.SlackBuild | 14 | ||||
-rw-r--r-- | games/freeminer/freeminer.info | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/games/freeminer/freeminer.SlackBuild b/games/freeminer/freeminer.SlackBuild index c270f1d6f3..960522c202 100644 --- a/games/freeminer/freeminer.SlackBuild +++ b/games/freeminer/freeminer.SlackBuild @@ -24,8 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=freeminer -VERSION=${VERSION:-0.4.13.7} -BUILD=${BUILD:-2} +VERSION=${VERSION:-git7ad981} +SRCVER=7ad981638ea568caf0e3495752cb1bc4a3a853dd +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,9 +61,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +#tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +unzip $CWD/$SRCVER.zip +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -91,7 +93,7 @@ cd build -DCUSTOM_DOCDIR:PATH=doc/$PRGNAM-$VERSION \ -DCUSTOM_EXAMPLE_CONF_DIR:PATH=doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. - + make make install DESTDIR=$PKG cd .. diff --git a/games/freeminer/freeminer.info b/games/freeminer/freeminer.info index 330d1ff33d..8fc73eef7c 100644 --- a/games/freeminer/freeminer.info +++ b/games/freeminer/freeminer.info @@ -1,8 +1,8 @@ PRGNAM="freeminer" -VERSION="0.4.13.7" +VERSION="git7ad981" HOMEPAGE="http://freeminer.org/" -DOWNLOAD="https://github.com/freeminer/freeminer/archive/0.4.13.7.tar.gz" -MD5SUM="902ae3142a5bcf57fbf9f8c2a36bebe9" +DOWNLOAD="https://github.com/freeminer/freeminer/archive/7ad981638ea568caf0e3495752cb1bc4a3a853dd.zip" +MD5SUM="ffdca1aad3b036b8df0d5c0ef1837687" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL luajit irrlicht enet msgpack-c jsoncpp" |