diff options
author | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
commit | 941550cbc215d608bd18439f99500b74fbb80f0d (patch) | |
tree | ced50aee5db693d8495b19c59d2bdbd6927c9393 /community/nestopia | |
parent | 9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff) |
Tue Oct 2 01:06:06 PDT 2012
Diffstat (limited to 'community/nestopia')
-rw-r--r-- | community/nestopia/PKGBUILD | 15 | ||||
-rw-r--r-- | community/nestopia/build-fix.patch | 19 |
2 files changed, 26 insertions, 8 deletions
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 <pupykin.s+arch@gmail.com> # Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com> # Contributor: robb_force <robb_force@holybuffalo.net> 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) + |