updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / gkrellweather / PKGBUILD
blob4c7072828110754d011ec49dda5fe90967f63509
1 # $Id: PKGBUILD,v 1.10 2006/05/22 17:38:11 uid1014 Exp $
2 # Maintainer: my64 
3 # Contributor: Manolis Tzanidakis
5 pkgname=gkrellweather
6 pkgver=2.0.8
7 pkgrel=1
8 pkgdesc="A weather monitor plugin for gkrellm2"
9 arch=('i686' 'x86_64')
10 depends=('gkrellm' 'perl' 'wget' 'gtk2')
11 license=('GPL')
12 url="http://makovick.googlepages.com/gkrellmplugins"
13 source=("http://wwwcip.informatik.uni-erlangen.de/~sijojord/$pkgname-$pkgver.tgz")
14 md5sums=('b21ed55cc9998eb7307ec53e99f9beea')
16 build() {
17   cd $startdir/src/$pkgname-$pkgver
19   # arch-ify paths
20   #
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