SUMMARY="A colourful binary clock for the terminal" DESCRIPTION="Features: * digital clock * binary clock * 12/24 hour time * customize with hex colour codes * set a custom unicode character for the binary clock graphic * compact or expanded mode * toggle visibility of digital and binary clocks * command prompt with a readline-like interface" HOMEPAGE="https://octobanana.com/software/peaclock" COPYRIGHT="2019 Brett Robinson" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/octobanana/peaclock/archive/$portVersion.tar.gz" CHECKSUM_SHA256="dd8a8746f8f0f0eb5690d10d13a61b55e6b11c78e98637879b6140c9ad058a65" SOURCE_FILENAME="peaclock-$portVersion.tar.gz" ARCHITECTURES="all !x86_gcc2" commandBinDir=$binDir if [ "$targetArchitecture" = x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" commandBinDir=$prefix/bin fi PROVIDES=" peaclock$secondaryArchSuffix = $portVersion cmd:peaclock " REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:cmake cmd:gcc$secondaryArchSuffix cmd:make " defineDebugInfoPackage peaclock$secondaryArchSuffix \ "$commandBinDir"/peaclock BUILD() { mkdir -p build cd build cmake ../ -DCMAKE_BUILD_TYPE=RelWithDebInfo make $jobArgs } INSTALL() { install -m 755 -d "$commandBinDir" install -m 755 build/peaclock "$commandBinDir" }