summaryrefslogtreecommitdiff
path: root/games/freeminer/freeminer.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-29 08:34:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-29 23:15:17 +0700
commitcb23018b8f9adda62021ec769ead0e352ec9242a (patch)
tree9aa27a2d5210da4c213278af3195bee38f523ffe /games/freeminer/freeminer.SlackBuild
parentfdf61b9b17c28d365157c1491ffce30b56d8d8f1 (diff)
downloadslackbuilds-cb23018b8f9adda62021ec769ead0e352ec9242a.tar.gz
games/freeminer: Updated for version git7ad981.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/freeminer/freeminer.SlackBuild')
-rw-r--r--games/freeminer/freeminer.SlackBuild14
1 files changed, 8 insertions, 6 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 ..