1 # Contributor: Ryan Coyner <rcoyner@gmail.com>
5 pkgdesc="Provides weather forecast information to be displayed in conky."
7 url="https://code.launchpad.net/~m-buck/+junk/conkyforecast"
10 conflicts=(conky-forecast conkyforecast-bzr)
11 replaces=(conky-forecast conkyforecast-bzr)
12 install=${pkgname}.install
13 changelog=${pkgname}.changelog
14 source=(https://launchpad.net/~conky-companions/+archive/ppa/+files/${pkgname}_${pkgver}.tar.gz)
19 python2 setup.py build
26 python2 setup.py install --root=${pkgdir}
27 install -D -m644 README ${pkgdir}/usr/share/conkyforecast/README
28 # Make sure we call python2 to run conkyforecast
29 sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgdir}/usr/share/conkyforecast/conkyForecast.py
30 sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgdir}/usr/bin/conkyForecast
33 sha1sums=('f7eb780a9b89aa042fcd4ce6ea7a5a0aa014cdfe')