diff options
Diffstat (limited to 'community/desmume/PKGBUILD')
-rw-r--r-- | community/desmume/PKGBUILD | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/community/desmume/PKGBUILD b/community/desmume/PKGBUILD index 65a01fb7d..5138954fd 100644 --- a/community/desmume/PKGBUILD +++ b/community/desmume/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 38953 2011-02-03 21:59:54Z bfanella $ +# $Id: PKGBUILD 67526 2012-03-13 10:38:03Z giovanni $ # Maintainer: Jonathan Conder <jonno dot conder at gmail dot com> # Maintainer: Brad Fanella <bradfanella@archlinux.us> # Contributor: Arkham <arkham at archlinux dot us> @@ -12,23 +12,31 @@ pkgname=desmume pkgver=0.9.7 -pkgrel=3 +pkgrel=4 pkgdesc="Nintendo DS emulator" arch=('i686' 'x86_64') url="http://desmume.org/" license=('GPL') -depends=('agg' 'gtkglext' 'intltool' 'libgl' 'libglade' 'mesa') +depends=('agg' 'gtkglext' 'libglade' 'desktop-file-utils' 'libpcap') +makedepends=('intltool') replaces=('desmume-core' 'desmume-cli' 'desmume-gtk' 'desmume-glade') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('0a0f7ef3cc76ff0bbc6f3df47c3689653617074ea7ffc354e9fa1240c5336523') +install=desmume.install +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'desmume-0.9.7-zlib.1.2.6-fix.patch') +sha256sums=('0a0f7ef3cc76ff0bbc6f3df47c3689653617074ea7ffc354e9fa1240c5336523' + 'baaf68be32f09690975d6309af6988c038e708ef322ed7e4b370d87087c7b6ba') build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --enable-wifi - make + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "${srcdir}/desmume-0.9.7-zlib.1.2.6-fix.patch" + + ./configure --prefix=/usr \ + --enable-wifi + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install } |