2 # Contributions by beniro and Snowman
7 pkgdesc="A Nintendo 64 emulator"
9 url="http://mupen64.emulation64.com/"
11 makedepends=('pkgconfig')
12 depends=('gtk2' 'sdl' 'libgl' 'libstdc++5')
13 source=(http://mupen64.emulation64.com/files/0.5/$pkgname\_src-$pkgver.tar.bz2\
14 mupen.config mupenpatch4.diff)
15 md5sums=('11f994bed40e00fad5b82333b553e421'\
16 '2cd713947e8295a34cf2e473cc14a19e'\
17 '527a29b0c178266f95e56c0a808b8d81')
20 cd $startdir/src/$pkgname\_src-$pkgver
21 patch -Np1 -i ../mupenpatch4.diff
22 cp ../mupen.config ./config.h
23 sed -i -e "s:-mcpu=athlon:-march=native:" Makefile
24 make clean all || return 1
25 install -d $startdir/pkg/usr/{bin,share/mupen64}
26 make PREFIX=$startdir/pkg/usr/ install
27 chmod a+r $startdir/pkg/usr/share/mupen64/lang/*
28 rm -rf $startdir/pkg/usr/share/$pkgname/doc