[arch-commits] Commit in higan/trunk (PKGBUILD higan)
Maxime Gauduin
alucryd at archlinux.org
Sun Jun 12 20:43:04 UTC 2016
Date: Sunday, June 12, 2016 @ 22:43:04
Author: alucryd
Revision: 179736
upgpkg: higan 099-1
Modified:
higan/trunk/PKGBUILD
Deleted:
higan/trunk/higan
----------+
PKGBUILD | 34 ++++++++++------------------------
higan | 25 -------------------------
2 files changed, 10 insertions(+), 49 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-06-12 20:32:21 UTC (rev 179735)
+++ PKGBUILD 2016-06-12 20:43:04 UTC (rev 179736)
@@ -2,7 +2,7 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=higan
-pkgver=098
+pkgver=099
pkgrel=1
pkgdesc='Nintendo multi-system emulator'
arch=('i686' 'x86_64')
@@ -10,7 +10,7 @@
license=('GPL3')
depends=('alsa-lib' 'cairo' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2'
'gtksourceview2' 'libao' 'libgl' 'libpulse' 'libx11' 'libxext' 'libxv'
- 'openal' 'pango' 'sdl' 'zenity'
+ 'openal' 'pango' 'sdl'
'libudev.so')
makedepends=('mesa')
conflicts=('higan-gtk' 'higan-qt')
@@ -17,11 +17,9 @@
replaces=('higan-gtk' 'higan-qt')
install='higan.install'
source=("http://download.byuu.org/higan_v${pkgver}-source.7z"
- 'higan-flags.patch'
- 'higan')
-sha256sums=('61cbf61da91c0fd6b1c7065305fd7f9a024b0d16de5eb2deafab9db09ddcf062'
- '6ee3489a3cf3e8d09beaa5c1f809824593aa08b61dc9a8c9ddc12a09c89ae6cb'
- '1abd4fd30e48e48dddb3cdce95f62be0b1b28c66f85a3b6ce95d29d7bfc94659')
+ 'higan-flags.patch')
+sha256sums=('1c62f2f1ec98da9d098c2df5c8b539a192b5a70eff0896c3e27d541fb4d28e86'
+ '6ee3489a3cf3e8d09beaa5c1f809824593aa08b61dc9a8c9ddc12a09c89ae6cb')
prepare() {
cd higan_v${pkgver}-source
@@ -30,17 +28,10 @@
}
build() {
- cd higan_v${pkgver}-source/icarus
+ cd higan_v${pkgver}-source
- make
-
- cd ../higan
-
- for p in {accuracy,balanced,performance}; do
- make profile=$p
- mv out/higan higan-$p
- make clean
- done
+ make -C icarus
+ make -C higan
}
package() {
@@ -47,16 +38,11 @@
cd higan_v${pkgver}-source
install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,higan,pixmaps}}
- install -m 755 ../higan "${pkgdir}"/usr/bin/
+ install -m 755 icarus/out/icarus "${pkgdir}"/usr/bin/
+ install -m 755 higan/out/higan "${pkgdir}"/usr/bin/
install -m 644 higan/data/higan.desktop "${pkgdir}"/usr/share/applications/
install -m 644 higan/data/higan.png "${pkgdir}"/usr/share/pixmaps/
cp -dr --no-preserve='ownership' higan/profile/* higan/data/cheats.bml "${pkgdir}"/usr/share/higan/
-
- install -m 755 icarus/out/icarus "${pkgdir}"/usr/bin/
-
- for p in {accuracy,balanced,performance}; do
- install -m 755 higan/higan-$p "${pkgdir}"/usr/bin/
- done
}
# vim: ts=2 sw=2 et:
Deleted: higan
===================================================================
--- higan 2016-06-12 20:32:21 UTC (rev 179735)
+++ higan 2016-06-12 20:43:04 UTC (rev 179736)
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-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 'higan (accuracy)' TRUE 'higan (balanced)' FALSE 'higan (performance)')"
-
-case $prompt in
- 'Icarus')
- exec icarus
- ;;
- 'higan (accuracy)')
- exec higan-accuracy
- ;;
- 'higan (balanced)')
- exec higan-balanced
- ;;
- 'higan (performance)')
- exec higan-performance
- ;;
-esac
-
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list