summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ac53cdd4f80..8bc81308e2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,27 +3,26 @@
_pkgname=tzclock
pkgname=${_pkgname}-gtk2
-pkgver=2.8.1
+pkgver=4.2
pkgrel=2
pkgdesc="Cairo clock to display the time around the world"
arch=('i686' 'x86_64')
url="http://tzclock.org/"
license=("GPL")
-depends=('libgnomeui')
-conflicts=("${_pkgname}-gtk3" "${_pkgname}")
-source=("http://www.theknight.co.uk/releases/GTK2/${_pkgname}-$pkgver.tar.bz2")
-md5sums=('28657d101d2c2a4df619e959d7d78196')
-DLAGENTS=('http::/usr/bin/wget -O %o %u')
+depends=('gtk2' 'libnotify' 'libdial')
+conflicts=("${_pkgname}")
+source=("https://theknight.co.uk/releases/Source/$_pkgname-$pkgver.tar.bz2")
+sha512sums=('0bf7eeb70fd41c0c69b024f13ced91eb0e35918ff509c31ec64f19c31b0b4e721f889e8779b4679fdd81c2d42cce06d2bd62289d5c66466af4a8cbb25eb554ab')
build() {
cd $srcdir/${_pkgname}-$pkgver/
- ./configure --prefix=/usr || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
}
package() {
cd $srcdir/${_pkgname}-$pkgver/
- make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR=${pkgdir} install
install -dm755 $pkgdir/usr/share/licenses/$pkgname/
install -Dpm644 COPYING $pkgdir/usr/share/licenses/$pkgname/