SUMMARY="Monitor the status of the system servers, Deskbar and Tracker"
DESCRIPTION="Services Watcher is an application which will monitor the \
status of the system servers, Deskbar and Tracker.  The running status of \
these services will automatically update as any of them quit or start.  You \
may manually start, stop and restart these services on demand."
HOMEPAGE="https://perelandra0x309.github.io/serviceswatcher"
COPYRIGHT="2010-2016 Brian Hill"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/Perelandra0x309/serviceswatcher/archive/v${portVersion}.tar.gz"
CHECKSUM_SHA256="386f1bc60f7b4c6b2960142d7b23f3040c150dbff65dcc358211724eb5741c7d"
SOURCE_DIR="serviceswatcher-${portVersion}"

ARCHITECTURES="x86_gcc2 !x86"

USER_SETTINGS_FILES="settings/ServicesWatcher_settings"

PROVIDES="
	serviceswatcher = $portVersion
	app:ServicesWatcher = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	true
}

INSTALL()
{
	mkdir -p $appsDir
	mkdir -p $docDir

	# copy documentation
	cp -af ReadMe License $docDir

	# copy executable
	cp -af ServicesWatcher $appsDir

	# deskbar link
	addAppDeskbarSymlink $appsDir/ServicesWatcher
}
