updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / sysinfo / PKGBUILD
blob5fd424837316ff0f2752b99560fdba023f27d29b
1 # Maintainer: Hyperair <hyperair@gmail.com>
2 pkgname=sysinfo
3 pkgver=0.7
4 pkgrel=8
5 pkgdesc="Display some useful computer and system information"
6 arch=('i686' 'x86_64')
7 url="http://gsysinfo.sourceforge.net/project/"
8 license="GPL"
9 depends=('gnome-sharp')
10 makedepends=('pkgconfig')
11 source=(http://downloads.sourceforge.net/sourceforge/gsysinfo/$pkgname-$pkgver.tar.gz
12         sysinfo_arch.diff
13         process_namespace.diff
14         nvidia_exceptions.diff
15         arch_logo.png)
16 md5sums=('8fa9b43541f22d09df67930459b99f10'
17          '77704a94ddf89971d6ae22757df68a32'
18          '78d9ca6cd2310235906e0f3f32668e85'
19          'dfec76614b0d182a804e9904f3595066'
20          'c4398d269d72e0c3498bf327542b5d8b')
22 build() {
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
34   make || return 1
35   make DESTDIR=$startdir/pkg/ install
36   rmdir $startdir/pkg/usr/lib/pkgconfig
38   rm -rf "${MONO_SHARED_DIR}"