1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
7 depends=('gtk2' 'xdg-utils')
9 pkgdesc="Showing some system status informations"
10 url="http://www.kornelix.squarespace.com/watsup"
11 source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
12 md5sums=('b41b961f74bd4032cc9f38c72555eb30')
14 cd ${srcdir}/$pkgname-$pkgver
15 sed -i 's+xdg-deskto+#xdg-deskto+' Makefile
16 make PREFIX=/usr CFLAGS+="-c $(pkg-config --cflags gtk+-2.0)" \
17 LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
18 sed -i 's+^# ++' data/desktop
21 cd $srcdir/$pkgname-$pkgver
22 install -Dm644 data/desktop \
23 $pkgdir/usr/share/applications/$pkgname.desktop
24 make DESTDIR=$pkgdir install
25 rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop