Package Details: tty-clock-git 1:2.3.r40.f2f847c-2

Git Clone URL: https://aur.archlinux.org/tty-clock-git.git (read-only, click to copy)
Package Base: tty-clock-git
Description: Analog clock in ncurses
Upstream URL: https://github.com/xorg62/tty-clock
Keywords: time
Licenses: BSD
Conflicts: tty-clock
Provides: tty-clock
Submitter: whynothugo
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 17
Popularity: 0.000055
First Submitted: 2014-07-25 02:17 (UTC)
Last Updated: 2023-07-15 19:16 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

eclairevoyant commented on 2023-05-02 19:34 (UTC)

As mentioned, this is missing git in makedepends, and this also needs to follow Arch packaging standards for pkgver() (upstream has tagged versions)

acxz commented on 2022-05-24 20:34 (UTC)

Cannot build this in clean chroot as the git package is missing

TechTycho commented on 2021-11-21 13:03 (UTC) (edited on 2021-11-21 13:49 (UTC) by TechTycho)

To install tty-clock: Clone the repository, fix the error in ttyclock.c as mentioned in https://github.com/xorg62/tty-clock/pull/100. Then, run 'sudo make install' and everything will work.

thefringeninja commented on 2021-11-18 19:08 (UTC)

Broken until https://github.com/xorg62/tty-clock/pull/100 is merged

patrick96 commented on 2016-09-25 10:03 (UTC)

This should probably conflict with and provide tty-clock [1] since they build from the same repo. [1] https://aur.archlinux.org/packages/tty-clock/

SammysHP commented on 2015-09-28 15:06 (UTC)

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 (UTC)

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 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io> pkgname=tty-clock-git -pkgver=latest +pkgver=136.516afbf pkgrel=1 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" make @@ -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 (UTC)

@mertensj That was reported upstream five days ago, including a patch. https://github.com/xorg62/tty-clock/pull/29

mertensj commented on 2015-07-10 15:34 (UTC)

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 (UTC)

Please use the https URL instead of the ssh version. Otherwise you are prompted for the passphrase of your private key. https://github.com/xorg62/tty-clock.git