A Crux port for tty-clock

Another little something that I use a lot, but tend to install manually, is xorg62‘s original version of tty-clock. Since yesterday’s port for Charm required quite a bit more work, a quick sweep past tty-clock was easy. The only problem here is that tty-clock isn’t really released, but can be downloaded as a tar.gz from github.

But there’s an issue with the name. The tarball is created with a hash code as part of the name, and rather than install git to install a tiny console clock, I downloaded the source code, repacked it with a 0.0 version number and uploaded it elsewhere. Now the name of the folder it decompresses to is no longer an obstacle.

# Description:	An analog clock in ncurses.
# URL:		http://github.com/xorg62/tty-clock
# Maintainer:	K.Mandla, k dot mandla at gmail dot com
# Depends on:	ncurses


build() {
	cd $name-$version
	make DESTDIR=$PKG/usr
	install -D $name $PKG/usr/bin/$name

Perhaps if tty-clock hits a proper release point, I’ll adjust this to point to it.

I made a point of mentioning that this is for the original version of tty-clock, because someone has already forked it. From what I can tell, it appears that version can function as a screen lock, and has some additional features like shifting the clock around with the cursor keys, or presetting the x and y coordinates. Perhaps the two will merge at some point, and those features will be available for both.

P.S.: Yes, I know there’s a PKGBUILD for this in AUR, but again, that one uses git, which I was trying to avoid.

About these ads

0 Responses to “A Crux port for tty-clock”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,101 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: