updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mupen64-ricevideo / PKGBUILD
blob09eaebf40c25efca78974f31f7332f325c2b302f
1 # Contributor: sh__
3 pkgname=mupen64-ricevideo
4 pkgver=6.1.0
5 pkgrel=2
6 pkgdesc="Rice Video plugin for Mupen64"
7 arch=('i686')
8 url="http://www.emutalk.net/showthread.php?t=41037"
9 license=('GPL')
10 depends=('mupen64')
11 makedepends=('nasm')
12 source=('http://www.emutalk.net/attachment.php?attachmentid=36584&d=1181256094')
13 md5sums=('b5e62daf67599311d3fa2ae01a11539e')
15 build() {
16   cd $startdir/src/
17   tar -xjf 'attachment.php?attachmentid=36584&d=1181256094'
18   cd RiceVideo610
19   sed -i "s|-march=athlon|-march=native|" Makefile
20   make || return 1
21   install -D -m755 ricevideo.so $startdir/pkg/usr/share/mupen64/plugins/ricevideo.so
22   install -D -m644 RiceVideo6.1.0.ini $startdir/pkg/usr/share/mupen64/plugins/RiceVideo6.1.0.ini