#Packager: Chris Farrell pkgname=CurseTheWeather pkgver=0.6 pkgrel=1cf source=("http://people.salixos.org/timcowchip/CurseTheWeather/0.6/CurseTheWeather-0.6.tar.gz" "CurseTheWeather-0.6.patch") sourcetemplate=http://people.salixos.org/timcowchip/$pkgname/$pkgver/ docs=("PKG-INFO" "README.txt") url=https://github.com/tdy/ctw/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "CurseTheWeather (display a weather forecast in a terminal)" "CurseTheWeather is comprised of two parts:" "weatherfeed.py = The backend which gets the weather from the internet" "ctw.py = An ncurses frontend with uber fancy ascii-art weather icons." "Actually, the icons suck, but the app is good :)" "see /usr/doc/CurseTheWeather-0.6/README.txt for Usage" "https://github.com/tdy/ctw/" ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/CurseTheWeather-0.6.patch || exit 1 python setup.py install --prefix=/usr --root=$startdir/pkg }