diff options
author | root <root@rshg047.dnsready.net> | 2011-06-16 22:59:30 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-16 22:59:30 +0000 |
commit | 1fcb176285908c33aca3b0f5cb703ec098e5440c (patch) | |
tree | 45be5519988f1ec96c9bc1a55e2ffcf5f5c62d26 /multilib/zsnes | |
parent | ebe74a263db3899367e12d936f908cdfdee7ec15 (diff) |
Thu Jun 16 22:59:30 UTC 2011
Diffstat (limited to 'multilib/zsnes')
-rw-r--r-- | multilib/zsnes/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/multilib/zsnes/PKGBUILD b/multilib/zsnes/PKGBUILD index a15d029e4..1a4fd6c3e 100644 --- a/multilib/zsnes/PKGBUILD +++ b/multilib/zsnes/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 28220 2010-10-03 23:52:11Z svenstaro $ +# $Id: PKGBUILD 49410 2011-06-15 15:59:06Z bluewind $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Frank Tetzel <frank.tetzel@mailbox.tu-dresden.de> # Contributor: Hugo Doria <hugo@archlinux.org> @@ -6,17 +6,17 @@ pkgname=zsnes pkgver=1.51 -pkgrel=7 +pkgrel=8 pkgdesc="Super Nintendo emulator" url="http://www.zsnes.com/" arch=('i686' 'x86_64') license=('GPL') -if [ $CARCH == "x86_64" ]; then - depends=('gcc-libs-multilib' 'lib32-sdl' 'lib32-libpng>=1.4.0' 'lib32-libgl' 'lib32-ncurses' 'lib32-mesa') +if [[ $CARCH == "x86_64" ]]; then + depends=('gcc-libs-multilib' 'lib32-sdl' 'lib32-libpng>=1.4.0' 'lib32-libgl' 'lib32-ncurses' 'lib32-mesa' 'lib32-libao') makedepends=('nasm' 'gcc-multilib') else - depends=('gcc-libs' 'sdl' 'libpng>=1.4.0' 'libgl' 'ncurses' 'mesa') + depends=('gcc-libs' 'sdl' 'libpng>=1.4.0' 'libgl' 'ncurses' 'mesa' 'libao') makedepends=('nasm' 'gcc') fi @@ -31,7 +31,7 @@ md5sums=('7071186bf80632ae88a153239498d8c9' build() { cd ${srcdir}/${pkgname}_1_51/ - patch -p1 -i ../zsnes.patch || return 1 + patch -p1 -i ../zsnes.patch cd ${srcdir}/${pkgname}_1_51/src if [ $CARCH == "x86_64" ]; then @@ -41,9 +41,10 @@ fi ./autogen.sh --prefix=/usr \ x_libraries=/usr/lib \ force_arch=i686 \ + --enable-libao \ --enable-release - make || return 1 + make make DESTDIR=${pkgdir} install # adding --mandir= to autoconf line fails |