From 941550cbc215d608bd18439f99500b74fbb80f0d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Oct 2012 01:06:16 -0700 Subject: Tue Oct 2 01:06:06 PDT 2012 --- community/nestopia/PKGBUILD | 15 +++++++-------- community/nestopia/build-fix.patch | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 community/nestopia/build-fix.patch (limited to 'community/nestopia') diff --git a/community/nestopia/PKGBUILD b/community/nestopia/PKGBUILD index b2bc7ab0a..9748e1dcd 100644 --- a/community/nestopia/PKGBUILD +++ b/community/nestopia/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76405 2012-09-17 10:50:40Z spupykin $ +# $Id: PKGBUILD 76885 2012-10-01 19:05:45Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Tiago Pierezan Camargo # Contributor: robb_force pkgname=nestopia -pkgver=1.41 -pkgrel=1 +pkgver=1.42 +pkgrel=2 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' license=('GPL') @@ -13,14 +13,13 @@ arch=('i686' 'x86_64') depends=('sdl' 'alsa-lib' 'gtk3' 'mesa') makedepends=('unzip') source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver" - "nestopia_bogus_error_on_save_settings.patch") -md5sums=('6baa5cb1bd4e929b200bdf33ea221606' - '0160078c9afcbb1a6ac389c3989929f7') + "build-fix.patch") +md5sums=('ce7ffba59f19c764f08546e015777172' + '49dc5a51243a023b47f25ff3d6aabd89') build() { cd ${srcdir}/rdanbrook-nestopia-* - # remove a bogus error message on exit - patch -p0 <$srcdir/nestopia_bogus_error_on_save_settings.patch + patch -p1 <$srcdir/build-fix.patch make PREFIX=/usr -j1 } diff --git a/community/nestopia/build-fix.patch b/community/nestopia/build-fix.patch new file mode 100644 index 000000000..7b8609f8d --- /dev/null +++ b/community/nestopia/build-fix.patch @@ -0,0 +1,19 @@ +diff -wbBur rdanbrook-nestopia-53aa38a/Makefile rdanbrook-nestopia-53aa38a.my/Makefile +--- rdanbrook-nestopia-53aa38a/Makefile 2012-09-26 04:21:32.000000000 +0400 ++++ rdanbrook-nestopia-53aa38a.my/Makefile 2012-10-01 21:12:08.000000000 +0400 +@@ -186,12 +186,12 @@ + install -m 0644 NstDatabase.xml $(DATADIR) + install -m 0644 source/linux/icons/*.png $(DATADIR)/icons + install -m 0644 source/linux/icons/*.svg $(DATADIR)/icons +- install -m 0644 source/linux/icons/nestopia.svg /usr/share/pixmaps +- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop ++ install -Dm0644 source/linux/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg ++ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop + + uninstall: + xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop +- rm /usr/share/pixmaps/nestopia.svg ++ rm $(PREFIX)/share/pixmaps/nestopia.svg + rm $(BINDIR)/$(EXE) + rm -rf $(DATADIR) + -- cgit v1.2.3-54-g00ecf