From 1a47271b2a2c92093e58e064a6822782bd053461 Mon Sep 17 00:00:00 2001 From: Neophytos Date: Sun, 16 Feb 2014 23:28:15 +0000 Subject: [PATCH] zsnes: rebuild --- zsnes/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/zsnes/PKGBUILD b/zsnes/PKGBUILD index d003b79..8cf8b3f 100644 --- a/zsnes/PKGBUILD +++ b/zsnes/PKGBUILD @@ -1,16 +1,12 @@ -# Lib32 Packages for Chakra, part of chakra-project.org -# # maintainer (x86_64): Giuseppe CalĂ  -# maintainer (x86_64): Anke Boersma pkgname=zsnes pkgver=1.51 -pkgrel=4 +pkgrel=5 pkgdesc="Super Nintendo emulator" url="http://www.zsnes.com/" arch=('x86_64') license=('GPL') - depends=('gcc-libs-multilib' 'lib32-sdl' 'lib32-libpng>=1.5.0' 'lib32-libgl' 'lib32-ncurses' 'lib32-mesa') makedepends=('nasm' 'gcc-multilib') @@ -26,13 +22,15 @@ md5sums=('7071186bf80632ae88a153239498d8c9' 'f28707c568cec5c9a4440ec70f2b123e' 'b2df7ab745719e86c44f2e95b93874b9' 'b5260c02adfc3b7ff725041214b00bfd') - -build() { + +prepare() { cd ${srcdir}/${pkgname}_1_51/ patch -p1 -i ../zsnes.patch patch -p1 -i ../gcc47-fix.patch patch -p0 -i ../zsnes-1.51-libpng15.patch +} +build() { cd ${srcdir}/${pkgname}_1_51/src export CC="gcc -m32" export CXX="g++ -m32"