deskbareyes-0.1.1.recipe revision 10c566be
1SUMMARY="Deskbar is watching you!"
2DESCRIPTION="DeskbarEyes is a Desktop applet that puts a pair of eyes in your deskbar that follow your cursor."
3HOMEPAGE="https://github.com/HaikuArchives/DeskbarEyes"
4COPYRIGHT="2005 Peter Stegemann, Richard & Mark Erben"
5LICENSE="deskbareyes"
6REVISION="1"
7SOURCE_URI="https://github.com/HaikuArchives/DeskbarEyes/archive/$portVersion.tar.gz"
8CHECKSUM_SHA256="18d83b9456f9976906e4a9e24e935f557111bbae94074dbfa82f1d6de16f588b"
9SOURCE_FILENAME="DeskbarEyes-$portVersion.tar.gz"
10SOURCE_DIR="DeskbarEyes-$portVersion"
11
12ARCHITECTURES="x86_gcc2 x86_64"
13
14PROVIDES="
15	deskbareyes = $portVersion
16	app:DeskbarEyes = $portVersion
17	"
18REQUIRES="
19	haiku
20	"
21
22BUILD_REQUIRES="
23	haiku_devel
24	"
25BUILD_PREREQUIRES="
26	cmd:g++
27	cmd:make
28	"
29
30BUILD()
31{
32	make $jobArgs
33}
34
35INSTALL()
36{
37	mkdir -p $appsDir/DeskbarEyes/Images
38	cp Images/* $appsDir/DeskbarEyes/Images
39	cp DeskbarEyes $appsDir/DeskbarEyes
40	mimeset -f $appsDir/DeskbarEyes/DeskbarEyes	
41
42	mkdir -p $dataDir/licenses
43	cp licenses/deskbareyes $dataDir/licenses
44
45	# Add a symlink to the Desktop applets directory in Deskbar
46	desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
47	mkdir -p "$desktopAppletsDir"
48	ln -s $appsDir/DeskbarEyes/DeskbarEyes "$desktopAppletsDir"
49}
50