diff options
Diffstat (limited to 'pcr/supermodel')
-rw-r--r-- | pcr/supermodel/PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pcr/supermodel/PKGBUILD b/pcr/supermodel/PKGBUILD index 3e2f10481..458639c1b 100644 --- a/pcr/supermodel/PKGBUILD +++ b/pcr/supermodel/PKGBUILD @@ -2,25 +2,27 @@ pkgname=supermodel pkgver=0.2a -pkgrel=1 +pkgrel=2 pkgdesc='A Sega Model 3 Arcade Emulator' arch=('i686' 'x86_64') url='http://www.supermodel3.com/' license=('GPL3') depends=('mesa' 'glu' 'sdl' 'zlib') install=supermodel.install -source=('multiuser.patch' 'supermodel.sh' +options=(!buildflags) +source=('multiuser.patch' 'supermodel.sh' "http://www.supermodel3.com/Files/Supermodel_${pkgver}_Src.zip") -md5sums=('a7cf136e412a0d927b099c15793b658d' 'ea8274c2a37acddd026fce9c831530cc' - 'd22359fbe277fe8f6fe0a06524350fc1') - -MAKEFLAGS="-j1" +sha256sums=('d8bb5c2ac4493406aefd12f2600034d1f58378cbfc82d8b3822d7f7b423bd8db' + 'b7afd56a1a33bb1d231a3d6274f2e00a6b41a7d5197101e1a6f3f7d0c5c4c5a4' + 'ecaf3e7fc466593e02cbf824b722587d295a7189654acb8206ce433dcff5497b') build() { cd "$srcdir/Supermodel_${pkgver}_Src" - sed -e "s/-Wall -O3/$CFLAGS/" -i 'Makefiles/Makefile.SDL.UNIX.GCC' + + CFLAGS="$CFLAGS -Wno-narrowing" + sed -i "s#-Wall -O3#$CFLAGS#" 'Makefiles/Makefile.SDL.UNIX.GCC' patch -p1 < ../multiuser.patch - make -f 'Makefiles/Makefile.SDL.UNIX.GCC' + make -j1 -f 'Makefiles/Makefile.SDL.UNIX.GCC' } package() { |