mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +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.
50 lines
1.1 KiB
Bash
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="$HOMEPAGE/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2ad1f6683e6d12d9305864c8f06d0981289a0f28bd676e6f807ee52e3d0711af"
|
|
SOURCE_DIR="CommandTimer-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
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
|
|
}
|