summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schneider2015-08-14 22:20:11 +0200
committerThomas Schneider2015-08-14 22:20:11 +0200
commit7ce9ff6ab7c17e5c624d37c80410d5ac67c4c6aa (patch)
tree830ed389fdccc17941a8a53cc2640a4103bb4676
downloadaur-7ce9ff6ab7c17e5c624d37c80410d5ac67c4c6aa.tar.gz
initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD36
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa470c1f943
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = libretro-pcsx-rearmed-git
+ pkgdesc = libretro implementation of PCSX ReARMed. (PlayStation)
+ pkgver = 1137.33b8211
+ pkgrel = 1
+ url = https://github.com/libretro/pcsx_rearmed
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = GPL
+ makedepends = git
+ depends = zlib
+ conflicts = libretro-pcsx_rearmed-git
+ source = git+https://github.com/libretro/pcsx_rearmed.git
+ source = https://raw.github.com/libretro/libretro-super/master/dist/info/pcsx_rearmed_libretro.info
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = libretro-pcsx-rearmed-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a5a99ace84f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Thomas Schneider <maxmusterm@gmail.com>
+# Contributor: prettyvanilla <prettyvanilla@posteo.at>
+# Contributor: almostalive <almostalive2003 at gmail dot com>
+
+pkgname=libretro-pcsx-rearmed-git
+pkgver=1137.33b8211
+pkgrel=1
+pkgdesc="libretro implementation of PCSX ReARMed. (PlayStation)"
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+url="https://github.com/libretro/pcsx_rearmed"
+license=('GPL')
+conflicts=('libretro-pcsx_rearmed-git')
+depends=('zlib')
+makedepends=('git')
+
+_libname=pcsx_rearmed_libretro
+_gitname=pcsx_rearmed
+source=("git+https://github.com/libretro/${_gitname}.git"
+ "https://raw.github.com/libretro/libretro-super/master/dist/info/${_libname}.info")
+md5sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${_gitname}"
+ make -f Makefile.libretro
+}
+
+package() {
+ install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
+ install -Dm644 "${_libname}.info" "${pkgdir}/usr/lib/libretro/${_libname}.info"
+}