1 # $Id: PKGBUILD,v 1.10 2006/05/22 17:38:11 uid1014 Exp $
3 # Contributor: Manolis Tzanidakis
8 pkgdesc="A weather monitor plugin for gkrellm2"
10 depends=('gkrellm' 'perl' 'wget' 'gtk2')
12 url="http://makovick.googlepages.com/gkrellmplugins"
13 source=("http://wwwcip.informatik.uni-erlangen.de/~sijojord/$pkgname-$pkgver.tgz")
14 md5sums=('b21ed55cc9998eb7307ec53e99f9beea')
17 cd $startdir/src/$pkgname-$pkgver
21 /bin/sed -i -e 's|/usr/local|/usr|' Makefile
22 /bin/sed -i -e 's|PREFIX|"/usr/share/gkrellm"|' gkrellweather.c
23 /bin/sed -i -e 's|/bin/GrabWeather|/GrabWeather|' gkrellweather.c
25 /usr/bin/make || return 1
26 /bin/install -D -m755 gkrellweather.so \
27 $startdir/pkg/usr/lib/gkrellm2/plugins/gkrellweather.so
28 /bin/install -D -m755 GrabWeather \
29 $startdir/pkg/usr/share/gkrellm/GrabWeather
31 # vim: ts=2 sw=2 et ft=sh