55 lines
1003 B
Bash
55 lines
1003 B
Bash
SUMMARY="A cute mascot on the active window"
|
|
DESCRIPTION="\
|
|
Moe is a program that displays a cute mascot on the active window. \
|
|
How about mind cooler for your desktop?"
|
|
HOMEPAGE="https://github.com/HaikuArchives/moe"
|
|
COPYRIGHT="2001 Okada Jun"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="5"
|
|
srcGitRev="9572c26e80e9847460c3bdb8ae3b3f39ac1c957c"
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="52fd3fa80141446cb9eee5f856eb59d4002ab403a56abe3504e286df000b2896"
|
|
SOURCE_DIR="Moe-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
moe = $portVersion
|
|
app:Moe = $portVersion
|
|
cmd:moe = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd sample
|
|
./add_attributes.sh
|
|
|
|
cd ../source
|
|
make OBJ_DIR=objects $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/Moe $binDir
|
|
|
|
cp -a source/objects/Moe $appsDir/Moe
|
|
cp -a sample/moe.png COPYING doc $appsDir/Moe
|
|
|
|
ln -sfn $appsDir/Moe/Moe $binDir/moe
|
|
}
|