1SUMMARY="A fast and full-featured native IRC client"
2DESCRIPTION="Vision is an IRC (Internet Relay Chat) client, originally for \
3BeOS, now for Haiku. The goal of this project is to provide the Haiku \
4community with an elegant, fast, and - most importantly - stable client to \
5communicate with other users and make new friends around the world."
6HOMEPAGE="https://github.com/HaikuArchives/Vision/"
7COPYRIGHT="1999-2021 The Vision Team"
8LICENSE="MPL v1.1"
9REVISION="2"
10srcGitRev="959a5bb9f18975d8246411ff9082cd98325d0b44"
11SOURCE_URI="https://github.com/HaikuArchives/Vision/archive/$srcGitRev.tar.gz"
12CHECKSUM_SHA256="0a93578245994b5d18b8d880f9c55be30faf10ad1e148030dade441aa6aba579"
13SOURCE_DIR="Vision-$srcGitRev"
14
15ARCHITECTURES="all"
16
17USER_SETTINGS_FILES="
18	settings/Vision directory
19	"
20
21PROVIDES="
22	vision = $portVersion
23	app:Vision = $portVersion
24	"
25REQUIRES="
26	haiku
27	"
28
29BUILD_REQUIRES="
30	haiku_devel
31	"
32BUILD_PREREQUIRES="
33	makefile_engine
34	cmd:g++
35	cmd:ld
36	cmd:make
37	"
38
39BUILD()
40{
41	cd src
42	make $jobArgs
43	make bindcatalogs
44	cd ..
45}
46
47INSTALL()
48{
49	visionDir=$appsDir/Vision
50	mkdir -p $appsDir
51
52	cp -r dist $visionDir
53	addAppDeskbarSymlink $visionDir/Vision
54}
55