updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kio-sysinfo / PKGBUILD
blob6742bb00906ea17472e006dafcbd9dc746dcc802
1 # Contributor: Shaika-Dzari <shaikadzari@gmail.com>
2 #Contributor : Atilla ÖNTAŞ <atilla_ontas@hotmail.com>
4 pkgname=kio-sysinfo
5 pkgver=1.8.2
6 pkgrel=4
7 pkgdesc="kio slave to display system infomation in konqueror."
8 url="http://jerrad.tuxfamily.org/kiosysinfo_eng.html"
9 license="GPL"
10 depends=('kdelibs' 'hwinfo')
11 makedepends=('pkgconfig')
12 arch=('i686' 'x86_64')
13 source=(http://download.tuxfamily.org/kiosysinfo/Sources/$pkgname-$pkgver.tar.gz
14         'background.png' 'kio-sysinfo-1.8.2-suse-10.3.patch' 'archlinux.patch' 'sysinfo.png' 'cpu.png')
15 md5sums=('c64bfb10a6ecfef5953e78d8a8fb3b43'
16                     'ecd475fa0a438adf7eb894ee19c3d0b7'
17                     '0d1144e1591dc69150d75cbb52e923e9'
18                     'f8c6a8932ab9fb74cde4b0c33f575d8b'
19                     '7bc43781f4e8a068ebef8b3e18b43829'
20                     '0556004d540c706d70352d88227f1d13')
22 build() {
23   cd $startdir/src/$pkgname-$pkgver
25 #Patch for compability for KDE 3.5.9 from Suse 
26   patch -Np1 -i $startdir/src/kio-sysinfo-1.8.2-suse-10.3.patch
27   patch -Np1 -i $startdir/src/archlinux.patch
29   ./configure
31   # patching libhd option
32   # sed -i -e "s/-lGL/-lhd -lGL/" src/Makefile
34   make
35   make DESTDIR=$startdir/pkg install
36   cp $startdir/src/background.png $startdir/pkg/opt/kde/share/apps/sysinfo/about/images/background.png
37   cp $startdir/src/sysinfo.png $startdir/pkg/opt/kde/share/apps/sysinfo/about/images/sysinfo.png
38   cp $startdir/src/cpu.png $startdir/pkg/opt/kde/share/apps/sysinfo/about/images/cpu.png