deskbareyes-0.1.1.recipe revision aa7dbbff
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="2"
7SOURCE_URI="https://github.com/HaikuArchives/DeskbarEyes/archive/$portVersion.tar.gz"
8CHECKSUM_SHA256="1aa2fe658602a3b9e3935c2b0b64eae733e54f76fc907c2530a8797efa428141"
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	# Add a symlink to the Desktop applets directory in Deskbar
43	desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
44	mkdir -p "$desktopAppletsDir"
45	ln -s $appsDir/DeskbarEyes/DeskbarEyes "$desktopAppletsDir"
46}
47