1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
6 pkgdesc="shows cpu-load and temperature"
7 url="http://kornelix.squarespace.com/dkopp"
10 depends=('gtk2' 'xdg-utils')
11 source=(http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz)
12 md5sums=('9f33103cf658de7b6d738d0d4c3d9419')
15 cd $srcdir/$pkgname-$pkgver
17 make CFLAGS+="-c $(pkg-config --cflags gtk+-2.0)" \
18 LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
19 sed -i '8,9d' data/desktop
23 cd $srcdir/$pkgname-$pkgver
24 install -Dm644 data/desktop \
25 $pkgdir/usr/share/applications/$pkgname.desktop
26 make MENUFILE1=$pkgdir/usr/share/applications/$pkgname.desktop \
27 DESTDIR=$pkgdir install
28 rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop