Files
haikuports/haiku-apps/bemines/bemines-1.0b2.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

48 lines
1.5 KiB
Plaintext

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.
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.
- 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."
HOMEPAGE="https://github.com/HaikuArchives/BeMines"
SRC_URI="git+https://github.com/haikuarchives/bemines#be29173f854c82f5b312ed31b5245b807a5afe0f"
LICENSE="MIT"
COPYRIGHT="2009 Jon Yoder"
ARCHITECTURES="x86_gcc2"
REVISION="1"
PATCHES="bemines-$portVersion.patchset"
PROVIDES="
bemines = $portVersion
app:bemines
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
"
BUILD()
{
gcc src/*.cpp -o BeMines -lbe -ltranslation -lmedia
xres -o BeMines src/BeMines.rsrc
}
INSTALL()
{
mkdir -p $appsDir/BeMines
cp BeMines $appsDir/BeMines
cp -r src/themes $appsDir/BeMines
addAppDeskbarSymlink $appsDir/BeMines/BeMines BeMines
}