updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / desktoptracks / PKGBUILD
blob4244d206c81cd70a61ef872c39538cef90963112
1 #Maintainer: kiefer <jorgelmadrid@gmail.com>
4 pkgname=desktoptracks
5 pkgver=0.1.2
6 pkgrel=4
7 pkgdesc="Record statistics about used applications"
8 arch=('i686' 'x86_64')
9 license=('GPLv2')
10 url="http://code.google.com/p/desktoptracks/"
11 depends=('dbus' 'dbus-python' 'glibc' 'glib2' 'gtk2' 'fontconfig' 'pygtk' 'python2-gnomecanvas')
12 source=("http://dl.dropbox.com/u/162810/$pkgname-$pkgver.tar.gz" "$pkgname.desktop" "$pkgname.png")
13 md5sums=('ae1067c5888c37d215dc44dc2a62825d' '43a59f2676bf66609abfe3b583e6b77d' '35285114ac1c520429ef515055cdfb15')
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         ./autogen.sh
18         ./configure --prefix=/usr
19         make || return 1
20         make DESTDIR=$pkgdir install || return 1
21         
22         install -D -m 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
23         install -D -m 644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"