summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2017-06-18 00:28:13 +0200
committerMaxime Gauduin2017-06-18 00:28:13 +0200
commit877e7630b65fa1107e52f771c584ff33c4b69788 (patch)
tree56c82db9caeabfa6f6f247e359cf5567279a3a6d
downloadaur-877e7630b65fa1107e52f771c584ff33c4b69788.tar.gz
Add libretro-redream-git
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD39
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4cee663ac50
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Sat Jun 17 22:28:13 UTC 2017
+pkgbase = libretro-redream-git
+ pkgdesc = Sega Dreamcast core
+ pkgver = r784.9214e458
+ pkgrel = 1
+ url = https://github.com/libretro/redream
+ arch = i686
+ arch = x86_64
+ groups = libretro
+ license = GPL2
+ makedepends = git
+ depends = gcc-libs
+ depends = glibc
+ depends = libgl
+ provides = libretro-redream
+ conflicts = libretro-redream
+ source = libretro-redream::git+https://github.com/libretro/redream.git
+ source = https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/redream_libretro.info
+ sha256sums = SKIP
+ sha256sums = a14013c3920883cd48db9c7a3570ade6f2ed2f9489b02d48360f0ad4fe08b149
+
+pkgname = libretro-redream-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..da592bbd4c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=libretro-redream-git
+pkgver=r784.9214e458
+pkgrel=1
+pkgdesc='Sega Dreamcast core'
+arch=('i686' 'x86_64')
+url='https://github.com/libretro/redream'
+license=('GPL2')
+groups=('libretro')
+depends=('gcc-libs' 'glibc' 'libgl')
+makedepends=('git')
+provides=('libretro-redream')
+conflicts=('libretro-redream')
+source=('libretro-redream::git+https://github.com/libretro/redream.git'
+ 'https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/redream_libretro.info')
+sha256sums=('SKIP'
+ 'a14013c3920883cd48db9c7a3570ade6f2ed2f9489b02d48360f0ad4fe08b149')
+
+pkgver() {
+ cd libretro-redream
+
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd libretro-redream
+
+ make -f Makefile.libretro
+}
+
+package() {
+ cd libretro-redream
+
+ install -Dm 644 redream_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+ install -Dm 644 ../redream_libretro.info -t "${pkgdir}"/usr/share/libretro/info/
+}
+
+# vim: ts=2 sw=2 et: