Add worldclock recipe (#1901)

This commit is contained in:
Mochammad Nur Afandi
2017-12-17 15:49:21 +07:00
committed by humdinger
parent ff03e02f40
commit 52f4604600

View File

@@ -0,0 +1,47 @@
SUMMARY="An imprecise clock"
DESCRIPTION="WordClock is an imprecise clock that displays the time in words \
instead of digits. You can change the used font and embed the clock as a \
Replicant on the Desktop."
HOMEPAGE="https://github.com/Janus2/WordClock"
COPYRIGHT="2017 Janus"
LICENSE="MIT"
REVISION="1"
srcGitRev="cbb5da9a498ec99a71a68f039042601207eafdd1"
SOURCE_URI="https://github.com/Janus2/WordClock/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="fe29a3f17467927f88052d9c260b894d8424cf175b633aa2ad22deea2b25abba"
SOURCE_FILENAME="WordClock-$srcGitRev.tar.gz"
SOURCE_DIR="WordClock-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
wordclock = $portVersion
app:WordClock = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
make $jobArgs
make bindcatalogs
}
INSTALL()
{
mkdir -p $appsDir
make install TARGET_DIR=$appsDir
addAppDeskbarSymlink $appsDir/WordClock
}