updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / watsup / PKGBUILD
blob2af54f6325f65a5ac80e6b129c04f523028d1529
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 pkgname=watsup
4 pkgver=2.0
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 depends=('gtk2' 'xdg-utils')
8 license=('GPL3')
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')
13 build() {
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 
20 package() { 
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