summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBenjamin Hodgetts2018-06-10 11:32:53 +0100
committerBenjamin Hodgetts2018-06-10 11:32:53 +0100
commit7f7154693a523345118b1a2074f06f1cdf4fab0f (patch)
tree8c4ca995ac4654141a0b3d83fe23ac95283e4f7c /PKGBUILD
downloadaur-7f7154693a523345118b1a2074f06f1cdf4fab0f.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..499e47f2bb8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Benjamin Hodgetts <ben@xnode.org>
+# Contributor: BrainDamage
+
+pkgname=libretro-reicast-oit-git
+pkgver=r2771.f0be7401
+pkgrel=1
+pkgdesc="libretro implementation of Reicast Sega Dreamcast Emulator (OIT version)"
+arch=('i686' 'x86_64')
+url="https://github.com/libretro/reicast-emulator"
+license=('GPL2' 'LGPL')
+makedepends=('git' 'mesa')
+depends=('alsa-lib' 'libgl' 'glibc' 'gcc-libs')
+groups=('libretro')
+provides=('libretro-reicast')
+conflicts=('libretro-reicast')
+source=("git://github.com/libretro/reicast-emulator.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/reicast-emulator"
+ echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${srcdir}/reicast-emulator"
+ make HAVE_OIT=1
+}
+
+package() {
+ install -Dm644 "${srcdir}/reicast-emulator/reicast_libretro.so" "${pkgdir}/usr/lib/libretro/reicast_libretro.so"
+}