1 # Maintainer: Hyperair <hyperair@gmail.com>
5 pkgdesc="Display some useful computer and system information"
7 url="http://gsysinfo.sourceforge.net/project/"
9 depends=('gnome-sharp')
10 makedepends=('pkgconfig')
11 source=(http://downloads.sourceforge.net/sourceforge/gsysinfo/$pkgname-$pkgver.tar.gz
13 process_namespace.diff
14 nvidia_exceptions.diff
16 md5sums=('8fa9b43541f22d09df67930459b99f10'
17 '77704a94ddf89971d6ae22757df68a32'
18 '78d9ca6cd2310235906e0f3f32668e85'
19 'dfec76614b0d182a804e9904f3595066'
20 'c4398d269d72e0c3498bf327542b5d8b')
23 export MONO_SHARED_DIR=${startdir}/src/.wabi
24 mkdir -p "${MONO_SHARED_DIR}"
26 cd $startdir/src/$pkgname-$pkgver
27 cp $startdir/src/arch_logo.png artwork/
28 patch -p1 -i ../process_namespace.diff || return 1
29 patch -p1 -i ../sysinfo_arch.diff || return 1
30 patch -p1 -i ../nvidia_exceptions.diff || return 1
31 sed -i 's/+ +/+/' Sysinfo/SystemInfo.cs || return 1
33 ./configure --prefix=/usr
35 make DESTDIR=$startdir/pkg/ install
36 rmdir $startdir/pkg/usr/lib/pkgconfig
38 rm -rf "${MONO_SHARED_DIR}"