1 # Contributor: Filip <fila pruda com>
6 pkgdesc="A desklet that displays cpu monitor with a graph. It is hightly configurable."
8 url="http://adesklets.sourceforge.net/desklets.html"
10 depends=('adesklets' 'pystatgrab')
11 groups=('adesklet-desklets')
12 source=(http://prdownloads.sourceforge.net/adesklets/wbcpu-0.1.1.tar.bz2)
13 md5sums=('9a09ce6166ab4355cce700d8bd5b4f78')
16 install -d -m 775 ${pkgdir}/usr/share/adesklets/wbcpu
17 chown root:adesklets ${pkgdir}/usr/share/adesklets/wbcpu
19 cp -a ${srcdir}/wbcpu-$pkgver/awidget ${pkgdir}/usr/share/adesklets/wbcpu/
21 install -m 755 ${srcdir}/wbcpu-$pkgver/wbcpu.py ${pkgdir}/usr/share/adesklets/wbcpu/wbcpu.py
22 sed -i 's|/usr/bin/env python|/usr/bin/env python2|' "${pkgdir}/usr/share/adesklets/wbcpu/wbcpu.py"