From 52f46046000de68ac0341ef87c8e1993cfbcc37c Mon Sep 17 00:00:00 2001 From: Mochammad Nur Afandi Date: Sun, 17 Dec 2017 15:49:21 +0700 Subject: [PATCH] Add worldclock recipe (#1901) --- haiku-apps/wordclock/wordclock-0.1.1.recipe | 47 +++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 haiku-apps/wordclock/wordclock-0.1.1.recipe diff --git a/haiku-apps/wordclock/wordclock-0.1.1.recipe b/haiku-apps/wordclock/wordclock-0.1.1.recipe new file mode 100644 index 000000000..afb88619d --- /dev/null +++ b/haiku-apps/wordclock/wordclock-0.1.1.recipe @@ -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 +} +