diff options
Diffstat (limited to 'games/freeminer/freeminer.SlackBuild')
-rw-r--r-- | games/freeminer/freeminer.SlackBuild | 14 |
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 .. |