Package Details: tty-clock-git 181.9e00c32-1

Git Clone URL: (read-only, click to copy)
Package Base: tty-clock-git
Description: Analog clock in ncurses.
Upstream URL:
Keywords: clock curses time
Licenses: BSD
Conflicts: tty-clock
Provides: tty-clock
Submitter: whynothugo
Maintainer: whynothugo
Last Packager: whynothugo
Votes: 9
Popularity: 0.001272
First Submitted: 2014-07-25 02:17
Last Updated: 2021-09-08 08:30

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

patrick96 commented on 2016-09-25 10:03

This should probably conflict with and provide tty-clock [1] since they build from the same repo.


SammysHP commented on 2015-09-28 15:06

Add the following prepare function to fix this package:

prepare() {
cd "$srcdir/$_gitname"
sed -i 's/CFLAGS ?=/CFLAGS +=/' Makefile
sed -i 's/LDFLAGS ?=/LDFLAGS +=/' Makefile
sed -i 's/LDFLAGS ?=/LDFLAGS +=/' Makefile
sed -i 's/${SRC} -o/${SRC} -lncurses -o/' Makefile

SammysHP commented on 2015-09-28 14:59

Does not compile anymore with ncurses>=6.

Here is another modification that "fixes" the makefile:

diff --git a/PKGBUILD b/PKGBUILD
index 364c3ca..e23c5da 100644
@@ -1,7 +1,7 @@
# Maintainer: Hugo Osvaldo Barrera <>

pkgdesc="Analog clock in ncurses."
arch=('i686' 'x86_64' 'armv6h')
@@ -18,6 +18,12 @@ pkgver() {
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)

+prepare() {
+ cd "$srcdir/$_gitname"
+ sed -i 's/CFLAGS ?=/CFLAGS +=/' Makefile
+ sed -i 's/LDFLAGS ?=/LDFLAGS +=/' Makefile
build() {
cd "$srcdir/$_gitname"
@@ -26,4 +32,4 @@ build() {
package() {
cd "$srcdir/$_gitname"
install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"

SammysHP commented on 2015-07-10 15:45


That was reported upstream five days ago, including a patch.

mertensj commented on 2015-07-10 15:34

Fails to build on arch.
Reason appears to be in the Makefile CFLAG/LDFLAGS using
VARIABLE ?= value
Setting of a variable only if it doesn't have a value
But in my case CFLAGS/LDFLAGS is already defined in /etc/makepkg.conf

I can make it build with the command:
$ makepkg -s --config /tmp/makepkg.conf
in which I commented out the CFLAGS & LDFLAGS

Why not use in Makefile ?

VARIABLE += value

Appending the supplied value to the existing value (or setting to that value if the variable didn't exist)

SammysHP commented on 2014-09-10 19:18

Please use the https URL instead of the ssh version. Otherwise you are prompted for the passphrase of your private key.

whynothugo commented on 2014-07-26 10:59

@GeoffreyFrogeye: Done.

GeoffreyFrogeye commented on 2014-07-26 10:55

Tested on armv6h (Raspberry Pi) and it worked like a charm. PKGBUILD should be edited.