Files
haikuports/haiku-apps/commandtimer/commandtimer-0.3.recipe
2020-07-10 19:53:06 +02:00

50 lines
1.1 KiB
Bash

SUMMARY="Execute or repeat commands after a countdown"
DESCRIPTION="CommandTimer counts down to zero then executes a user provided \
command or script or launches an application etc.
You can point to a location that the command will be executed in, \
and choose to keep repeating that countdown and also set an alarm that'll \
play back the system beep (set in Haiku's Sounds preferences)."
HOMEPAGE="https://github.com/HaikuArchives/CommandTimer"
COPYRIGHT="1999 Jason Scaroni
2020 Humdinger"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/CommandTimer/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="626d2771e25cbfc76f6ba06c0f56904c3039da5bb6b7c303c919fca28de7e4d2"
SOURCE_DIR="CommandTimer-$portVersion"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
commandtimer = $portVersion
app:CommandTimer = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:ld
cmd:make
"
BUILD()
{
cd src
mkdir -p bin
make $jobArgs TARGET_DIR=bin
}
INSTALL()
{
install -d $appsDir
install -t $appsDir src/bin/CommandTimer
addAppDeskbarSymlink $appsDir/CommandTimer
}