catchchallenger-2.2.0.0.recipe revision a8d82345
1SUMMARY="Game MMORPG/single player game. You can fight, farming, crafting, trading"
2DESCRIPTION="This game is a independent MMORPG or a single player game."
3HOMEPAGE="https://catchchallenger.first-world.info/"
4COPYRIGHT="2011-2019 BRULE Herman Jacques Roger (alpha_one_x86)"
5LICENSE="GNU GPL v3"
6REVISION="1"
7srcGitRev="e645be9b0a8413e191f65795964bfb25184d7736"
8SOURCE_URI="https://github.com/alphaonex86/CatchChallenger/archive/$srcGitRev.zip"
9CHECKSUM_SHA256="66800467f554b6a72727ad612753759484228fa1e7775f61be4bfbca51654d5d"
10SOURCE_FILENAME="catchchallenger-$portVersion.tar.gz"
11SOURCE_DIR="CatchChallenger-$srcGitRev"
12
13ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
14SECONDARY_ARCHITECTURES="x86"
15
16PROVIDES="
17	catchchallenger$secondaryArchSuffix = $portVersion
18	app:CatchChallenger$secondaryArchSuffix
19	"
20REQUIRES="
21	haiku$secondaryArchSuffix
22	lib:libcrypto$secondaryArchSuffix
23	lib:libGL$secondaryArchSuffix
24	lib:libQt5Core$secondaryArchSuffix
25	lib:libQt5Gui$secondaryArchSuffix
26	lib:libQt5Network$secondaryArchSuffix
27	lib:libQt5Widgets$secondaryArchSuffix
28	lib:libQt5Xml$secondaryArchSuffix
29	lib:libz$secondaryArchSuffix
30	lib:libzstd$secondaryArchSuffix
31	"
32
33BUILD_REQUIRES="
34	haiku${secondaryArchSuffix}_devel
35	devel:libcrypto$secondaryArchSuffix >= 1.0.0
36	devel:libGL$secondaryArchSuffix
37	devel:libQt5Core$secondaryArchSuffix
38	devel:libQt5Gui$secondaryArchSuffix
39	devel:libQt5Network$secondaryArchSuffix
40	devel:libQt5Widgets$secondaryArchSuffix
41	devel:libQt5Xml$secondaryArchSuffix
42	devel:libz$secondaryArchSuffix
43	devel:libzstd$secondaryArchSuffix
44	"
45BUILD_PREREQUIRES="
46	cmd:find
47	cmd:gcc$secondaryArchSuffix
48	cmd:lrelease$secondaryArchSuffix >= 5
49	cmd:make
50	cmd:qmake$secondaryArchSuffix >= 5
51	"
52
53BUILD()
54{
55	find ./ -name '*.ts' -exec lrelease {} \;
56	cd client/ultimate/
57	qmake catchchallenger-ultimate.pro
58	make $jobArgs
59}
60
61INSTALL()
62{
63	mkdir -p $appsDir
64	cp client/ultimate/catchchallenger-ultimate $appsDir/CatchChallenger
65	addAppDeskbarSymlink $appsDir/CatchChallenger
66}
67