Files
haikuports/haiku-apps/timetracker/timetracker-0.2.recipe
nys fbc7bedf63 fix x86_64 for TimeTracker, Toner, WakeUp and BeBattle (#2019)
* haiku-apps/genesis_commander: mark as tested.
* haiku-apps/timetracker: add patch for gcc5 builds only.
* haiku-apps/toner: add patch, bump revision.
* haiku-apps/wakeup: add patch, bump revision.
* haiku-games/bebattle: add patch, bump revision.
2018-01-02 08:33:57 +00:00

52 lines
1.2 KiB
Bash

SUMMARY="Keeps track of the time you spend on your various projects"
DESCRIPTION="TimeTracker lets you create tasks for your various projects and \
shows them in a list. Via double-click on an entry you start/stop the timer \
on that task, thus helping you keep track of how much time you spend doing \
what."
HOMEPAGE="https://github.com/HaikuArchives/TimeTracker"
COPYRIGHT="200? Michael Wulff Nielsen
2016 Humdinger"
LICENSE="GNU GPL v1"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/TimeTracker/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="eeef96d6ccccf580497787b0c68ba6014c4985553266027c86cd0aff16037857"
SOURCE_DIR="TimeTracker-$portVersion"
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
PATCHES="timetracker-$portVersion.patchset"
fi
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
timetracker = $portVersion
app:TimeTracker = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:g++
"
USER_SETTINGS_FILES="settings/TimeTracker
settings/TimeTrackerTasks"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a src/objects/TimeTracker $appsDir
addAppDeskbarSymlink $appsDir/TimeTracker
}