1SUMMARY="A cute mascot on the active window"
2DESCRIPTION="Moe is a program that displays a cute mascot on the active window.
3You can have your own 'window sitter' by drag and dropping an image (best \
4a transparancy preserving PNG) onto the Moe binary. Do read the \
5accompanying documentation to learn about all options and how to set up \
6animated mascots."
7HOMEPAGE="https://github.com/HaikuArchives/moe"
8COPYRIGHT="2001 Okada Jun"
9LICENSE="GNU GPL v2"
10REVISION="7"
11srcGitRev="6978b7c5c09fc08895ae922cc8738fa0cbbb4f45"
12SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
13CHECKSUM_SHA256="db1bc9c52ab9f0a6e41ef050e2b1a9c3db16255f7da7618595970e21f13eb038"
14SOURCE_DIR="Moe-$srcGitRev"
15
16ARCHITECTURES="all"
17
18PROVIDES="
19	moe = $portVersion
20	app:Moe = $portVersion
21	cmd:moe = $portVersion
22	"
23REQUIRES="
24	haiku
25	lib:libz
26	"
27
28BUILD_REQUIRES="
29	haiku_devel
30	devel:libz
31	"
32BUILD_PREREQUIRES="
33	makefile_engine
34	cmd:gcc
35	cmd:ld
36	cmd:make
37	"
38
39BUILD()
40{
41	cd sample
42	./add_attributes.sh
43
44	cd ../source
45	make OBJ_DIR=objects $jobArgs
46	make OBJ_DIR=objects bindcatalogs
47}
48
49INSTALL()
50{
51	mkdir -p $appsDir/Moe $binDir
52
53	cp -a source/objects/Moe $appsDir/Moe
54	cp -a sample/moe.png documentation $appsDir/Moe
55
56	ln -sfn $appsDir/Moe/Moe $binDir/moe
57}
58