Fixed BinaryClock recipe

* Use safe SOURCE_URI.
* Improved description with an explanation from the readme on how
  the hell one reads this clock. :)
* Declare add_on for the included screensaver.
This commit is contained in:
Humdinger
2017-02-10 09:13:49 +01:00
parent 594bfc236c
commit 1c460d8258

View File

@@ -1,22 +1,52 @@
SUMMARY="A binary clock application and screensaver"
DESCRIPTION="
A Binary Clock. And yes, you really can use this to tell time! I have found it \
quite enjoyable to reprogram my brain to learn to read it at a glance. It just \
takes a little getting used to.
"
DESCRIPTION="A Binary Clock. And yes, you really can use this to tell time! I \
have found it quite enjoyable to reprogram my brain to learn to read it at a \
glance. It just takes a little getting used to.
How to read the Binary Clock:
Each column stands for a digit in a 24 hour clock with the format: hh : mm : ss
Each column is configured like this:
8
4
2
1
so if you wanted "2", you would see: (O being off, X being on)
O
O
X
O
5 would be:
O
X
O
X
so 8:57:12pm would be 20:57:12 which would look like:
OO OO OO
OO XX OO
XO OX OX
OO XX XO
Good Luck!"
HOMEPAGE="http://github.com/HaikuArchives/BinaryClock"
SOURCE_URI="git://github.com/HaikuArchives/BinaryClock#bfefbf7f93e7a07c841fdb1162e119b0364fee85"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 David Enderson"
LICENSE="GNU GPL v2"
REVISION="3"
srcGitRev="bfefbf7f93e7a07c841fdb1162e119b0364fee85"
SOURCE_URI="https://github.com/HaikuArchives/BinaryClock/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a9e6c772b7e801d8a75a0dced08d99d04e55355d0b33c47653725ac13de99e5e"
SOURCE_DIR="BinaryClock-$srcGitRev"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
binaryclock = $portVersion
app:BinaryClock = $portVersion
add_on:BinaryClock = $portVersion
"
REQUIRES="
haiku
"
@@ -24,11 +54,10 @@ REQUIRES="
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:g++
cmd:ld
"