diff options
author | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
commit | 965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch) | |
tree | 910883dffa913262b28fb7a0e3bc41c3325b1dd2 /community-testing/nestopia | |
parent | 962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff) |
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'community-testing/nestopia')
-rw-r--r-- | community-testing/nestopia/ChangeLog | 12 | ||||
-rw-r--r-- | community-testing/nestopia/PKGBUILD | 30 | ||||
-rw-r--r-- | community-testing/nestopia/build-fix.patch | 19 |
3 files changed, 61 insertions, 0 deletions
diff --git a/community-testing/nestopia/ChangeLog b/community-testing/nestopia/ChangeLog new file mode 100644 index 000000000..5077d00b2 --- /dev/null +++ b/community-testing/nestopia/ChangeLog @@ -0,0 +1,12 @@ +2008-12-16 Tiago Pierezan Camargo <tcamargo@gmail.com> + + * PKGBUILD: Minor corrections. + +2008-12-04 Tiago Pierezan Camargo <tcamargo@gmail.com> + + * PKGBUILD (source): Package adopted. + Variable/version cleanup. + Patch to remove bogus error messages on program exit. + New dependency: mesa. + Renamed executable to nestopia. + diff --git a/community-testing/nestopia/PKGBUILD b/community-testing/nestopia/PKGBUILD new file mode 100644 index 000000000..7ef2d4b96 --- /dev/null +++ b/community-testing/nestopia/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 77297 2012-10-08 15:06:02Z 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.42 +pkgrel=3 +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') +arch=('i686' 'x86_64') +depends=('sdl' 'alsa-lib' 'gtk3' 'mesa' 'glu') +makedepends=('unzip') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver" + "build-fix.patch") +md5sums=('ce7ffba59f19c764f08546e015777172' + '49dc5a51243a023b47f25ff3d6aabd89') + +build() { + cd ${srcdir}/rdanbrook-nestopia-* + patch -p1 <$srcdir/build-fix.patch + make PREFIX=/usr -j1 +} + +package() { + cd ${srcdir}/rdanbrook-nestopia-* + mkdir -p $pkgdir/usr/{bin,share/nestopia} + make install PREFIX=$pkgdir/usr +} diff --git a/community-testing/nestopia/build-fix.patch b/community-testing/nestopia/build-fix.patch new file mode 100644 index 000000000..7b8609f8d --- /dev/null +++ b/community-testing/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) + |