1SUMMARY="Puzzle game with baking and rotations"
2DESCRIPTION="Help PiPi the little fairy collect ingredients to prepare sweets \
3and make everyone happy.
4
5Each stage has a target time and number of rotations. When you get the next-to-last item, a \
6secret item appears that you also have to collect if you want to completely finish the game.
7
8Use UP and DOWN keys to navigate the menus. Use LEFT and RIGHT to move the character. \
9Use Z in combination with left/right to rotate the world. Use X to jump. Use C to open the menu \
10while playing. Use F1 and F2 to change the sound volume and ESC to exit the game."
11HOMEPAGE="https://github.com/pulkomandy/kaiten-patissier"
12COPYRIGHT="2008 Alpha Secret Base"
13LICENSE="Yawaraka"
14REVISION="2"
15SOURCE_URI="https://github.com/pulkomandy/kaiten-patissier/archive/6903c8f079f93bfbbdd75faa5de246fc92731516.tar.gz"
16CHECKSUM_SHA256="1fb77ef390f5bcc852cdaae49e11c01735cbb25834dc56d5beffa66544f5259d"
17SOURCE_DIR="kaiten-patissier-6903c8f079f93bfbbdd75faa5de246fc92731516"
18
19ARCHITECTURES="all !x86_gcc2"
20SECONDARY_ARCHITECTURES="x86"
21
22PROVIDES="
23	kaiten_patissier$secondaryArchSuffix = $portVersion
24	app:kaiten_patissier$secondaryArchSuffix = $portVersion
25	"
26REQUIRES="
27	haiku$secondaryArchSuffix
28	lib:libSDL_1.2$secondaryArchSuffix
29	lib:libSDL_mixer_1.2$secondaryArchSuffix
30	lib:libSDL_gfx$secondaryArchSuffix
31	"
32
33BUILD_REQUIRES="
34	haiku${secondaryArchSuffix}_devel
35	devel:libSDL_1.2$secondaryArchSuffix
36	devel:libSDL_mixer_1.2$secondaryArchSuffix
37	devel:libSDL_gfx$secondaryArchSuffix
38	"
39BUILD_PREREQUIRES="
40	makefile_engine
41	cmd:make
42	cmd:gcc$secondaryArchSuffix
43	"
44
45BUILD()
46{
47	cd src
48	make $jobArgs -f Makefile.linux
49}
50
51INSTALL()
52{
53	mkdir -p $appsDir/Kaiten\ Patissier
54
55	cp src/RotateGear $appsDir/Kaiten\ Patissier/Kaiten\ Patissier
56	cp -r data image sound replay $appsDir/Kaiten\ Patissier
57	addAppDeskbarSymlink $appsDir/Kaiten\ Patissier/Kaiten\ Patissier
58}
59
60