Fix BeMines recipe

* Get latest commit that fixes build for gcc7 (64bit).
* Use safe source URL
This commit is contained in:
Humdinger
2018-06-20 17:31:50 +02:00
parent a302e38f0e
commit 379a7881a9

View File

@@ -1,26 +1,28 @@
SUMMARY="More than a near-exact clone of the classic Windows game"
DESCRIPTION="
It's about time for a more than a near-exact clone of the classic Windows game, \
Minesweeper.
DESCRIPTION="It's about time for a more than a near-exact clone of the \
classic Windows game, Minesweeper.
Controls
Controls:
- Left click: Reveal a box. Clicking on a mine will lose the game.
- Right click: Change a box to either unmarked, flagged as a mine, or a question mark.
- Middle click: Sonar ping which reveals all mines in a 3x3 square without the \
danger of setting them off. It comes with a 20 second cost added to your \
time. Left clicking while holding down ALT will also will do this.
- Right click: Change a box to either unmarked, flagged as a mine, or a \
question mark.
- Middle click: Sonar ping which reveals all mines in a 3x3 square without \
the danger of setting them off. It comes with a 20 second cost added to your \
time. Left clicking while holding down ALT will also will do this.
- Click with both buttons: If the tile is a number and the appropriate number \
of mines around it have been flagged, it will clear all the other squares \
around the number. Of course, if you've made a mistake, you'll probably \
set off a mine. Left clicking while holding down SHIFT will also \
do this."
of mines around it have been flagged, it will clear all the other squares \
around the number. Of course, if you've made a mistake, you'll probably \
set off a mine. Left clicking while holding down SHIFT will also do this."
HOMEPAGE="https://github.com/HaikuArchives/BeMines"
COPYRIGHT="2009 Jon Yoder"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="git+https://github.com/haikuarchives/bemines#ccbc3dd0fa7771748b5560b03db907cff64bae34"
REVISION="2"
srcGitRev="bd1a954d8c0f0f0f8b60bca71965e06d360d19a8"
SOURCE_URI="https://github.com/HaikuArchives/BeMines/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="00851988cd15158886320641b6519606650f003cf9eca376cc017998c7f9b7ed"
SOURCE_DIR="BeMines-$srcGitRev"
ARCHITECTURES="x86_gcc2"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
bemines = $portVersion
@@ -32,19 +34,21 @@ REQUIRES="
BUILD_PREREQUIRES="
haiku_devel
makefile_engine
cmd:gcc
cmd:g++
cmd:make
"
BUILD()
{
cd src
make
}
INSTALL()
{
mkdir -p $appsDir/BeMines
cp BeMines $appsDir/BeMines
cp src/BeMines $appsDir/BeMines
cp -r src/themes $appsDir/BeMines
addAppDeskbarSymlink $appsDir/BeMines/BeMines BeMines
}