# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Eric Belanger # Contributor: Hugo Ideler pkgname=adesklet-systemmonitor pkgver=0.1.3 pkgrel=3 pkgdesc="Modular stackable system monitors for adesklets" arch=('i686' 'x86_64') url="http://adesklets.sourceforge.net/desklets.html" license=("GPL") depends=('adesklets' 'libstatgrab' 'pystatgrab') groups=('adesklet-desklets') backup=('usr/share/adesklets/SystemMonitor/config.txt') source=(http://downloads.sourceforge.net/sourceforge/adesklets/SystemMonitor-$pkgver.tar.bz2) md5sums=('a866f8cd7200e7dd2432bd98bc5b5dfb') build() { mkdir -p $startdir/pkg/usr/share/adesklets/SystemMonitor cp -a $startdir/src/SystemMonitor-$pkgver/* $startdir/pkg/usr/share/adesklets/SystemMonitor/ chown root:adesklets $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt chmod 664 $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt rm $startdir/pkg/usr/share/adesklets/SystemMonitor/config.txt~ }