1SUMMARY="An application to display Haiku usage tips"
2DESCRIPTION="Display brief but informative hints relating to interesting \
3features about Haiku and their usage. It can be embedded as Replicant onto \
4the Desktop and slideshow through the tips at a set interval.
5
6Clicking on the category icon shown beside the tip opens a web page related \
7to the tip's topic."
8HOMEPAGE="https://github.com/HaikuArchives/Tipster"
9COPYRIGHT="2015 Vale Tolpegin
10	2016 Hannah Pan
11	2016-2018 Humdinger
12	2017 Akshay Agarwal
13	2017 vanishakesswani
14	2018 Janus
15	2019-2021 HaikuArchives Team"
16LICENSE="MIT"
17REVISION="2"
18srcGitRev="2c32beb22f0c4c8fee63c9af5f291b46821312e4"
19SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
20CHECKSUM_SHA256="32cb528cfb558430aee660785ca940e51732d172e4c7700b4816ffdeb9c88de8"
21SOURCE_DIR="Tipster-$srcGitRev"
22
23ARCHITECTURES="all"
24
25PROVIDES="
26	tipster = $portVersion
27	app:Tipster = $portVersion
28	"
29REQUIRES="
30	haiku
31	"
32
33BUILD_REQUIRES="
34	haiku_devel
35	"
36BUILD_PREREQUIRES="
37	makefile_engine
38	cmd:g++
39	cmd:make
40	"
41
42BUILD()
43{
44	make OBJ_DIR=objects $jobArgs
45	make OBJ_DIR=objects bindcatalogs
46}
47
48INSTALL()
49{
50	mkdir -p $appsDir $dataDir/Tipster
51
52	cp -a objects/Tipster $appsDir
53	cp -a tips/* $dataDir/Tipster
54
55	addAppDeskbarSymlink $appsDir/Tipster
56}
57