summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoruberushaximus2016-05-03 21:56:12 -0500
committeruberushaximus2016-05-03 21:57:28 -0500
commitd1adbbc6aea073f4c282b64e7a81c673ba419aa3 (patch)
treeae57bd18e7d0d42c4d1ef26aba758387fbee66c5
downloadaur-d1adbbc6aea073f4c282b64e7a81c673ba419aa3.tar.gz
Add libretro-bsnes-mercury-git
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD47
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96a72c710cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = libretro-bsnes-mercury-git
+ pkgdesc = Super Nintendo Entertainment System cores with various performance improvements
+ pkgver = 209
+ pkgrel = 1
+ url = https://github.com/libretro/bsnes-mercury
+ arch = i686
+ arch = x86_64
+ groups = libretro
+ license = GPL3
+ makedepends = git
+ depends = gcc-libs
+ depends = glibc
+ source = bsnes-mercury::git+https://github.com/libretro/bsnes-mercury
+ source = https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_accuracy_libretro.info
+ source = https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_balanced_libretro.info
+ source = https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_performance_libretro.info
+ sha256sums = SKIP
+ sha256sums = 9b9b7ab87e79fb9a6c5728bdbe63b9430c1e79af02600cf44fd2cc041e635d72
+ sha256sums = dc5fb75a930e8486771343932761149b96cfdb14e44032c2b5218ecc27595d4f
+ sha256sums = 66a883d21a05f638ee7c345ff58e6eeb39305f7e6959081964786dfac6f3867a
+
+pkgname = libretro-bsnes-mercury-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4e6d948ebc4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: uberushaximus <uberushaximus@gmail.com>
+
+pkgname=libretro-bsnes-mercury-git
+pkgver=209
+pkgrel=1
+pkgdesc='Super Nintendo Entertainment System cores with various performance improvements'
+arch=('i686' 'x86_64')
+url='https://github.com/libretro/bsnes-mercury'
+license=('GPL3')
+groups=('libretro')
+depends=('gcc-libs' 'glibc')
+makedepends=('git')
+source=('bsnes-mercury::git+https://github.com/libretro/bsnes-mercury'
+ 'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_accuracy_libretro.info'
+ 'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_balanced_libretro.info'
+ 'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/bsnes_mercury_performance_libretro.info')
+sha256sums=('SKIP'
+ '9b9b7ab87e79fb9a6c5728bdbe63b9430c1e79af02600cf44fd2cc041e635d72'
+ 'dc5fb75a930e8486771343932761149b96cfdb14e44032c2b5218ecc27595d4f'
+ '66a883d21a05f638ee7c345ff58e6eeb39305f7e6959081964786dfac6f3867a')
+
+pkgver() {
+ cd bsnes-mercury
+
+ git rev-list --count HEAD
+}
+
+build() {
+ cd bsnes-mercury
+
+ for p in accuracy balanced performance; do
+ make profile=${p}
+ done
+}
+
+package() {
+ cd bsnes-mercury
+
+ install -dm 755 "${pkgdir}"/usr/{lib/libretro,share/libretro/info}
+ for p in accuracy balanced performance; do
+ install -m 644 out/bsnes_mercury_${p}_libretro.so "${pkgdir}"/usr/lib/libretro/
+ install -m 644 ../bsnes_mercury_${p}_libretro.info "${pkgdir}"/usr/share/libretro/info/
+ done
+}
+
+# vim: ts=2 sw=2 et: