summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 735eab789e96147183ef068757f1a7925315dd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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

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

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/"
}