summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorquellen2017-11-26 22:42:01 +0100
committerquellen2017-11-26 22:42:01 +0100
commitdd3143d1b07e4deceb16a2e51e0f87bab2e9a08b (patch)
tree23140e3c54cae21bb3456d133088166ed1fc8358
downloadaur-dd3143d1b07e4deceb16a2e51e0f87bab2e9a08b.tar.gz
useful commit message
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD38
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9b7d96c9742
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = libretro-fsuae-git
+ pkgdesc = A port of the Commodore Amiga Emulator to libretro (WIP)
+ pkgver = 1712.7990f7ad
+ pkgrel = 1
+ url = https://github.com/libretro/libretro-fsuae
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ groups = libretro
+ license = GPL3
+ makedepends = git
+ depends = zlib
+ source = git+https://github.com/libretro/libretro-fsuae.git
+ source = https://raw.github.com/libretro/libretro-super/master/dist/info/fsuae_libretro.info
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = libretro-fsuae-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fe71d366516
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: quellen <lodgerz@gmail.com>
+
+pkgname=libretro-fsuae-git
+pkgver=1712.7990f7ad
+pkgrel=1
+pkgdesc="A port of the Commodore Amiga Emulator to libretro (WIP)"
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+url="https://github.com/libretro/libretro-fsuae"
+license=('GPL3')
+groups=('libretro')
+depends=('zlib')
+makedepends=('git')
+
+_libname=fsuae_libretro
+_gitname=libretro-fsuae
+source=("git+https://github.com/libretro/${_gitname}.git"
+ "https://raw.github.com/libretro/libretro-super/master/dist/info/${_libname}.info")
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${_gitname}"
+ ./autogen.sh
+ CFLAGS="-O2" ./configure --build=x86_64-pc-linux-gnu --prefix=/usr/local --enable-shared --disable-static --libdir=/usr/local/lib64 --enable-jit
+ make gen -j 4
+ make clean
+ make -j 4
+}
+
+package() {
+ install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
+ install -Dm644 "${_libname}.info" "${pkgdir}/usr/share/libretro/info/${_libname}.info"
+} \ No newline at end of file