0
0
Fork 0
haikuports/haiku-apps/webwatch/webwatch-1.0~git.recipe

57 lines
1.6 KiB
Bash

SUMMARY="A time utility that runs inside the Deskbar"
DESCRIPTION="WebWatch is an unofficial port of Swatch's Internet Time utility \
that runs inside the Deskbar.
Someone at Swatch (you know, the company that makes the watches) came up with \
an idea for a universal time format that eliminates time zones and \
geographical borders. The idea is very simple: time is no longer measured in \
hours, minutes, and seconds, but in \"beats.\" A single day consists of 1000 \
beats, so each beat corresponds to 1 minute and 26.4 seconds.
This \"Internet Time\" is the same all over the world, because it is measured \
relatively to something called the Biel Mean Time (BMT), a new meridian that \
lies in Switzerland. A day in Internet Time begins at midnight BMT, or @000 \
Swatch Beats, 12 noon is equivalent to @500 beats, and so on. So if it's @812 \
at my place, it's also 812 beats at yours and everyone else's."
HOMEPAGE="https://github.com/HaikuArchives/WebWatch"
COPYRIGHT="1999-2003 Matthijs Hollemans"
LICENSE="MIT"
REVISION="4"
srcGitRev="6606a42aa9e899a3cf1b537829f1c375dad2a7d5"
SOURCE_URI="https://github.com/HaikuArchives/WebWatch/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="bf996ab1c523be740b8e9cb9e03478904d7ee56e0a335fe165961a961fb1720c"
SOURCE_DIR="WebWatch-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
webwatch
app:WebWatch = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
}
INSTALL()
{
cd src
mkdir -p $appsDir
cp objects/WebWatch $appsDir
addAppletDeskbarSymlink $appsDir/WebWatch
}