Date: Tuesday, September 2, 2014 @ 17:01:17 Author: spupykin Revision: 118192
upgpkg: nestopia 1.46-1 upd Modified: nestopia/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-09-02 14:25:02 UTC (rev 118191) +++ PKGBUILD 2014-09-02 15:01:17 UTC (rev 118192) @@ -4,26 +4,29 @@ # Contributor: robb_force <[email protected]> pkgname=nestopia -pkgver=1.45 +pkgver=1.46 pkgrel=1 pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.' -url='http://0ldsk00l.ca/nestopia.html' +url='http://0ldsk00l.ca/nestopia/' license=('GPL') arch=('i686' 'x86_64') -depends=('sdl' 'alsa-lib' 'gtk3' 'glu' 'libarchive') -makedepends=('unzip' 'mesa') +depends=('sdl2' 'alsa-lib' 'gtk3' 'glu' 'libarchive' 'libao') +makedepends=('unzip' 'mesa' 'xdg-utils') source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver" "build-fix.patch") -md5sums=('f34aa327011af7c149ec679db5b53362' +md5sums=('54d0ec7c3e8067ad372383ffe9c3924f' '4a852d8e484c2fe214377ec18a68356f') -build() { +prepare() { cd ${srcdir}/rdanbrook-nestopia-* patch -p1 <$srcdir/build-fix.patch - export LDFLAGS=-lX11 - make PREFIX=/usr -j1 } +build() { + cd ${srcdir}/rdanbrook-nestopia-* + make PREFIX=/usr +} + package() { cd ${srcdir}/rdanbrook-nestopia-* mkdir -p $pkgdir/usr/{bin,share/nestopia}
