1SUMMARY="One of the first science fiction roguelikes"
2DESCRIPTION="In the 22nd century, colony ships were programmed to search \
3for earthlike planets along trajectories calculated to visit stars with the \
4best likelihood of habitable worlds. One such ship with its crew and \
5passengers in cryostasis traveled over 2300 light years before a suitable \
6planet was found.
7
8Hope is a temperate world located in the Glory system on the edge of a vast \
9nebula often referred to as the Purple Void. The nebula is unique in that it \
10contains many unusual star types and other peculiar phenomena.
11
12Over 100 years have passed since the colonists first arrived. It is a new \
13beginning of deep space exploration. Technology has improved and mankind is \
14no longer dependent on slow cryoships and robot probes. This is the setting of \
15Strange Adventures In Infinite Space.
16
17SAIS is a roguelike, which means that the game is different \
18every time it is played. Stars, planets, black holes, nebula mass, alien \
19patrols, items, lifeforms and other encounters are randomized for each new \
20Strange Adventure.
21
22Strange Adventures in Infinite Space (SAIS) was released in 2002 by James \
23Ernest and��Cheapass Games. It was created by Rich Carlson, Iikka Ker��nen and \
24Bill Sears--aka, Digital Eel."
25HOMEPAGE="https://rich.itch.io/strangeadventures"
26COPYRIGHT="Digital Eel 2005-2020"
27LICENSE="GNU GPL v3"
28REVISION="1"
29srcGitRev="5dc9f5c2abc966cc07048b7579c3a294c2304080"
30SOURCE_URI="https://github.com/kuroneko/sais/archive/$srcGitRev.tar.gz"
31CHECKSUM_SHA256="7516f26eb418336275a2e947dd4cc9880500ab4553d2bb14f8ca628df697232d"
32SOURCE_DIR="sais-$srcGitRev"
33
34ARCHITECTURES="all !x86_gcc2"
35SECONDARY_ARCHITECTURES="x86"
36
37PROVIDES="
38	sais$secondaryArchSuffix = $portVersion
39	app:sais = $portVersion
40	app:strange = $portVersion
41	"
42REQUIRES="
43	haiku$secondaryArchSuffix
44	lib:libphysfs$secondaryArchSuffix
45	lib:libSDL2_2.0$secondaryArchSuffix
46	lib:libSDL2_mixer_2.0$secondaryArchSuffix
47	"
48
49BUILD_REQUIRES="
50	haiku${secondaryArchSuffix}_devel
51	devel:libphysfs$secondaryArchSuffix
52	devel:libSDL2_2.0$secondaryArchSuffix
53	devel:libSDL2_mixer_2.0$secondaryArchSuffix
54	"
55BUILD_PREREQUIRES="
56	cmd:cmake
57	cmd:gcc$secondaryArchSuffix
58	cmd:make
59	cmd:pkg_config$secondaryArchSuffix
60	cmd:zip
61	"
62
63BUILD()
64{
65	mkdir sais-build && cd sais-build
66	cmake -DCMAKE_INSTALL_PREFIX=$appsDir/sais ..
67	make all $jobArgs
68}
69
70INSTALL()
71{
72	cd sais-build
73	make install
74	addAppDeskbarSymlink $appsDir/sais/strange "SAIS"
75}
76