zsnes: rebuild

This commit is contained in:
Neophytos 2014-02-16 23:28:15 +00:00
parent 81c5ae95d3
commit 1a47271b2a

View File

@ -1,16 +1,12 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
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')
@ -27,12 +23,14 @@ md5sums=('7071186bf80632ae88a153239498d8c9'
'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"