Files
haikuports/haiku-apps/commandtimer/commandtimer-2.0~git.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

47 lines
1008 B
Bash

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"
commit="c85fda361d2190688680319fd19d0ee00fb0d4ad"
SOURCE_URI="https://github.com/HaikuArchives/CommandTimer/archive/$commit.tar.gz"
CHECKSUM_SHA256="33652430ce0d44e6e9a403ce38b1a5f6bfb40119bab99348692e02923eaf6cad"
SOURCE_FILENAME="CommandTimer-$commit.tar.gz"
SOURCE_DIR="CommandTimer-$commit"
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
}