mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
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="2"
|
|
SOURCE_URI="https://github.com/HaikuArchives/DeskbarEyes/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="1aa2fe658602a3b9e3935c2b0b64eae733e54f76fc907c2530a8797efa428141"
|
|
SOURCE_FILENAME="DeskbarEyes-$portVersion.tar.gz"
|
|
SOURCE_DIR="DeskbarEyes-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
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
|
|
|
|
# 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"
|
|
}
|