Package Details: tzclock 4.6-1

Git Clone URL: https://aur.archlinux.org/tzclock.git (read-only, click to copy)
Package Base: tzclock
Description: Cairo clock to display the time around the world
Upstream URL: https://theknight.co.uk
Licenses: GPL-3.0-only
Submitter: juantascon
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 8
Popularity: 0.000000
First Submitted: 2009-11-26 05:05 (UTC)
Last Updated: 2024-11-07 22:15 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

soundofthunder commented on 2025-07-23 12:32 (UTC)

PKGBUILDS updated for tzclock-4.7 and libdial-2.6.

2025-07-26

tzclock-4.7:

# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Marcos Heredia <chelqo at gmail dot com>
# Contributor: Juan Diego Tascon
# Contributor: Lee James

pkgname=tzclock
pkgver=4.7
pkgrel=1
pkgdesc="Cairo clock to display the time around the world"
arch=('x86_64')
url="https://theknight.co.uk"
license=("GPL-3.0-only")
depends=('gtk3' 'libnotify' 'libdial')
changelog=CHANGELOG
source=("$pkgname-$pkgver.tar.bz2::$url/releases/Source/$pkgname-$pkgver.tar.bz2")
sha256sums=('ff9fe076ab306c8ebb68bbe4797726f24a67b8cd5fddb926f745c38b0d136cce')

build() {
    cd "$pkgname-$pkgver"
    ./configure --prefix=/usr
    make
}

package() {
    cd "$pkgname-$pkgver"
    DESTDIR="$pkgdir/" make install
    install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm644 AUTHORS tzclock.spec -t "$pkgdir/usr/share/doc/$pkgname/"
}

libdial-2.6:

# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: Lee James

pkgname=libdial
pkgver=2.6
pkgrel=1
pkgdesc="library needed by tzclock"
arch=('x86_64')
url="https://theknight.co.uk"
license=("GPL-3.0-only")
depends=('gtk3')
provides=("$pkhname.so=2-64")
source=("$pkgname-$pkgver.tar.bz2::$url/releases/Source/$pkgname-$pkgver.tar.bz2")
sha256sums=('4639779bdf735dfda0755f22ddb7519ba8417813232e583a49f7a8fa01364d60')

build() {
    cd "$pkgname-$pkgver"
    ./configure --prefix=/usr
    make
}

package() {
    cd "$pkgname-$pkgver/"
    make DESTDIR="${pkgdir}" install
}

TrialnError commented on 2020-01-12 21:19 (UTC)

Can do that for libdial. Found the issue with my PKGBUILD for it (to much copy&paste.. >.>) But will disown it

TrialnError commented on 2020-01-12 15:15 (UTC) (edited on 2020-01-12 21:26 (UTC) by TrialnError)

For those who wants to maintain this. I had a look at this. The latest versions require a new dep, which isn't on the AUR. libdial, which also can be found on the theknight homepage. But for me libdial wouldn't create a package, because in the make install phase it wants to install a file from the tzclock source... And I didn't want to tinker and manually drop the files in their place. But possibly it needs to done that way.
tzclock itself can print a wrong error message in case a dep is missing. It searches first for gtk3 and libnotify and dial and if one is missing, falls back to libgnomeui, dial. And if that also fails it just mentions the old gtk2 deps.
The DLAGENT and the makedep on wget isn't needed.
But since 31.12.2019 the download will fail, because their cert ran out.

Edit: Oh, and those || return 1 statements can go. Long time obsolete

Edit2: Disregard the information about libdial.. Built and packaged properly. Just a pebcak case :D

chelqo commented on 2019-12-12 12:57 (UTC)

Sorry, too many dependencies to old packages

Myshkin commented on 2016-08-31 13:09 (UTC)

I think libnotify should also be a dependency.

chelqo commented on 2016-04-10 22:33 (UTC)

array ready! thank you

stef204 commented on 2016-04-04 19:26 (UTC) (edited on 2016-04-04 19:28 (UTC) by stef204)

==> ERROR: license should be an array easy fix: license=("GPL") can you fix PKGBUILD please? (and gtk2 version as well?) thanks.

acgtyrant commented on 2014-09-10 03:26 (UTC)

Is this a tray application? How to launch it? Thank you!