CommandTimer: update to v0.3

This commit is contained in:
Humdinger
2020-07-10 19:53:06 +02:00
parent b69f26c29a
commit e2e0cf6eba
2 changed files with 49 additions and 46 deletions

View File

@@ -0,0 +1,49 @@
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
}

View File

@@ -1,46 +0,0 @@
SUMMARY="Launch or repeat commands after a user-chosen countdown"
DESCRIPTION="CommandTimer counts down to zero then executes whatever command \
is in the top box."
HOMEPAGE="https://github.com/HaikuArchives/CommandTimer"
COPYRIGHT="1999 Jason Scaroni"
LICENSE="Public Domain"
REVISION="2"
srcGitRev="c85fda361d2190688680319fd19d0ee00fb0d4ad"
SOURCE_URI="https://github.com/HaikuArchives/CommandTimer/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="33652430ce0d44e6e9a403ce38b1a5f6bfb40119bab99348692e02923eaf6cad"
SOURCE_FILENAME="CommandTimer-$srcGitRev.tar.gz"
SOURCE_DIR="CommandTimer-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 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
}