updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / busyhot / PKGBUILD
blob4c84ede3529244c649388c1bfcdc588cda677ab8
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 pkgname=busyhot
4 pkgver=2.0
5 pkgrel=1
6 pkgdesc="shows cpu-load and temperature"
7 url="http://kornelix.squarespace.com/dkopp"
8 arch=('i686' 'x86_64')
9 license=('GPL3')
10 depends=('gtk2' 'xdg-utils')
11 source=(http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz)
12 md5sums=('9f33103cf658de7b6d738d0d4c3d9419')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   export PREFIX=/usr
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
22 package() {
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