updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rescuetime-client / PKGBUILD
blob6ff4d8b9f5062018c12efeb862374d1fa42e98d6
1 pkgname=rescuetime-client
2 pkgver=99
3 pkgrel=0
4 pkgdesc="rescuetime linux client"
5 url="https://launchpad.net/rescuetime-linux-uploader"
6 depends=('python' 'setuptools' 'xorg-utils')
7 license=('MIT')
8 arch=(any)
9 conflicts=('rescuetime')
10 source=("http://launchpad.net/rescuetime-linux-uploader/trunk/$pkgver/+download/rescuetime-linux-uploader-$pkgver.tar.bz2")
11 md5sums=('e16d03a34498990bf8adf2fcbebcbee8')
13 build() {
14         cd $srcdir/rescuetime-linux-uploader-$pkgver
15         python setup.py build
16         python setup.py install --prefix=/usr --root="$pkgdir" || return 1
17         install -D gnome_applet/rescuetime_16.png $pkgdir/usr/share/icons/hicolor/16x16/rescuetime.png
18         install -D gnome_applet/rescuetime_22.png $pkgdir/usr/share/icons/hicolor/22x22/rescuetime.png
19         install -D gnome_applet/rescuetime_32.png $pkgdir/usr/share/icons/hicolor/32x32/rescuetime.png
20         install -D gnome_applet/rescuetime_48.png $pkgdir/usr/share/icons/hicolor/48x48/rescuetime.png
21         install -D gnome_applet/rescuetime_48.png $pkgdir/usr/share/pixmaps/rescuetime.png
22         install -D gnome_applet/rescuetime_tracker.server $pkgdir/usr/lib/bonobo/servers/rescuetime_tracker.server
23         install -D gnome_applet/rescuetime_notifier.server $pkgdir/usr/lib/bonobo/servers/rescuetime_notifier.server