WorkspaceNumber: new recipe for v0.2

WorkspaceNumber is a Deskbar replicant to display the current workspace number.
This commit is contained in:
Humdinger
2023-12-02 14:34:40 +01:00
parent 80289eed49
commit f097e1b3eb

View File

@@ -0,0 +1,51 @@
SUMMARY="A Deskbar replicant to display the current workspace number"
DESCRIPTION="WorkspaceNumber is a replicant to display the current workspace number \
in Deskbar's tray. It helps keeping track of the current workspace in case you have \
similar or the same Desktop backgrounds across your workspaces.
Left-click the icon to open Haiku's Workspaces applet.
Use the mouse-wheel while hovering over the icon to move through the workspaces.
To remove WorkspaceNumber from Deskbar, launch it again or right-click the icon and \
select 'Quit'."
HOMEPAGE="https://github.com/HaikuArchives/WorkspaceNumber"
COPYRIGHT="1999 Michał Kowalski
2023 Humdinger"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="66ce5d358c5ec54ce9410853f52955b67cb294e1fa079bcc236f98d718b2fe4f"
SOURCE_DIR="WorkspaceNumber-$portVersion"
ARCHITECTURES="all"
PROVIDES="
workspacenumber = $portVersion
app:WorkspaceNumber = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd source
make $jobArgs
make bindcatalogs
}
INSTALL()
{
mkdir -p $appsDir
cp -af WorkspaceNumber $appsDir
addAppletDeskbarSymlink $appsDir/WorkspaceNumber
}