[arch-commits] Commit in higan/trunk (PKGBUILD higan higan.install)

Maxime Gauduin alucryd at archlinux.org
Sat Dec 26 17:50:26 UTC 2015


    Date: Saturday, December 26, 2015 @ 18:50:26
  Author: alucryd
Revision: 154566

upgpkg: higan 096-1

Added:
  higan/trunk/higan.install
Modified:
  higan/trunk/PKGBUILD
  higan/trunk/higan

---------------+
 PKGBUILD      |    9 +++++----
 higan         |    5 ++++-
 higan.install |   10 ++++++++++
 3 files changed, 19 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-26 16:52:59 UTC (rev 154565)
+++ PKGBUILD	2015-12-26 17:50:26 UTC (rev 154566)
@@ -2,8 +2,8 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=higan
-pkgver=095
-pkgrel=2
+pkgver=096
+pkgrel=1
 pkgdesc='Nintendo multi-system emulator'
 arch=('i686' 'x86_64')
 url='http://byuu.org/'
@@ -15,12 +15,13 @@
 makedepends=('mesa')
 conflicts=('higan-gtk' 'higan-qt')
 replaces=('higan-gtk' 'higan-qt')
+install='higan.install'
 source=("http://download.byuu.org/higan_v${pkgver}-source.7z"
         'higan-makefile.patch'
         'higan')
-sha256sums=('443a11ef64b817861e9cb7b818fc9283afb50f8e254345eb88fa12c764f44f77'
+sha256sums=('10ef9bd93708ea56bf0c6180d5a02d850a892c37e68d8945e431e1661e7f8579'
             'cbdb3524bc5f0380df4d96312a15bc0bf641a7a82723bfb30998efeb977d4b7f'
-            '4a9f59253caa51fa8313db421bf7ce431722c601594b2bdb0fa0459652284168')
+            '801ddccd26d4e21c7d5ddde01be936da155a020cd755f02ac89f354108592de2')
 
 prepare() {
   cd higan_v${pkgver}-source

Modified: higan
===================================================================
--- higan	2015-12-26 16:52:59 UTC (rev 154565)
+++ higan	2015-12-26 17:50:26 UTC (rev 154566)
@@ -1,6 +1,9 @@
 #!/bin/sh
 
-cp -ru /usr/share/higan ~/.config/
+cp -u /usr/share/higan/cheats.bml ~/.config/
+if [[ -d ~/Emulation ]]; then
+  cp -ru /usr/share/higan/*.sys ~/Emulation/
+fi
 
 prompt="$(zenity --list --radiolist --title 'Please select a profile' --column '' --column '' FALSE 'Icarus' FALSE 'Tomoko (accuracy)' TRUE 'Tomoko (balanced)' FALSE 'Tomoko (performance)')"
 

Added: higan.install
===================================================================
--- higan.install	                        (rev 0)
+++ higan.install	2015-12-26 17:50:26 UTC (rev 154566)
@@ -0,0 +1,10 @@
+post_install() {
+  echo << EOF
+higan needs the system files located in /usr/share/higan to be copied inside
+your ~/Emulation directory. This is done automatically by the launcher script
+if you're using the default directory, otherwise make sure you copy them
+manually.
+EOF
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list