mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
DeskbarEyes: add recipe
This commit is contained in:
49
haiku-apps/deskbareyes/deskbareyes-0.1.1.recipe
Normal file
49
haiku-apps/deskbareyes/deskbareyes-0.1.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Deskbar is watching you!"
|
||||
DESCRIPTION="DeskbarEyes is a Desktop applet that puts a pair of eyes in your deskbar that follow your cursor."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/DeskbarEyes"
|
||||
COPYRIGHT="2005 Peter Stegemann, Richard & Mark Erben"
|
||||
LICENSE="deskbareyes"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/DeskbarEyes/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="18d83b9456f9976906e4a9e24e935f557111bbae94074dbfa82f1d6de16f588b"
|
||||
SOURCE_FILENAME="DeskbarEyes-$portVersion.tar.gz"
|
||||
SOURCE_DIR="DeskbarEyes-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
deskbareyes = $portVersion
|
||||
app:DeskbarEyes = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/DeskbarEyes/Images
|
||||
cp Images/* $appsDir/DeskbarEyes/Images
|
||||
cp DeskbarEyes $appsDir/DeskbarEyes
|
||||
mimeset -f $appsDir/DeskbarEyes/DeskbarEyes
|
||||
|
||||
mkdir -p $dataDir/licenses
|
||||
cp licenses/deskbareyes $dataDir/licenses
|
||||
|
||||
# Add a symlink to the Desktop applets directory in Deskbar
|
||||
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
|
||||
mkdir -p "$desktopAppletsDir"
|
||||
ln -s $appsDir/DeskbarEyes/DeskbarEyes "$desktopAppletsDir"
|
||||
}
|
||||
Reference in New Issue
Block a user