updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / adesklet-wbcpu / PKGBUILD
blobbe9a3764cf178a4e3f0a9c01302b723175e58541
1 # Contributor: Filip <fila pruda com>
3 pkgname=adesklet-wbcpu
4 pkgver=0.1.1
5 pkgrel=2
6 pkgdesc="A desklet that displays cpu monitor with a graph. It is hightly configurable."
7 arch=('any')
8 url="http://adesklets.sourceforge.net/desklets.html"
9 license=("GPL")
10 depends=('adesklets' 'pystatgrab')
11 groups=('adesklet-desklets')
12 source=(http://prdownloads.sourceforge.net/adesklets/wbcpu-0.1.1.tar.bz2)
13 md5sums=('9a09ce6166ab4355cce700d8bd5b4f78')
15 package() {
16   install -d -m 775 ${pkgdir}/usr/share/adesklets/wbcpu
17   chown root:adesklets ${pkgdir}/usr/share/adesklets/wbcpu
18   
19   cp -a ${srcdir}/wbcpu-$pkgver/awidget ${pkgdir}/usr/share/adesklets/wbcpu/
20   
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"