summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2018-08-13 10:11:50 +0200
committerMaxime Gauduin2018-08-13 10:11:50 +0200
commitaebddd850cc0ad6d059f174e64adf6be2853589d (patch)
tree25fc67d72d07fce7ca9b28a0b1e86d2957f4f595
downloadaur-aebddd850cc0ad6d059f174e64adf6be2853589d.tar.gz
Add libretro-beetle-wswan-git
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0a4a3d6bb43
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Mon Aug 13 08:11:50 UTC 2018
+pkgbase = libretro-beetle-wswan-git
+ pkgdesc = WonderSwan core
+ pkgver = r712.b4dc85b
+ pkgrel = 1
+ url = https://github.com/libretro/beetle-wswan-libretro
+ arch = x86_64
+ groups = libretro-unstable
+ license = GPL2
+ makedepends = git
+ depends = libretro-core-info
+ provides = libretro-beetle-wswan
+ provides = libretro-mednafen-wswan-git
+ conflicts = libretro-beetle-wswan
+ conflicts = libretro-mednafen-wswan-git
+ source = libretro-beetle-wswan::git+https://github.com/libretro/beetle-wswan-libretro.git
+ sha256sums = SKIP
+
+pkgname = libretro-beetle-wswan-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8f71d29ba9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Oliver Jaksch <arch-aur@com-in.de>
+
+pkgname=libretro-beetle-wswan-git
+pkgver=r712.b4dc85b
+pkgrel=1
+pkgdesc='WonderSwan core'
+arch=('x86_64')
+url='https://github.com/libretro/beetle-wswan-libretro'
+license=('GPL2')
+groups=('libretro-unstable')
+depends=('libretro-core-info')
+makedepends=('git')
+provides=('libretro-beetle-wswan' 'libretro-mednafen-wswan-git')
+conflicts=('libretro-beetle-wswan' 'libretro-mednafen-wswan-git')
+source=("libretro-beetle-wswan::git+https://github.com/libretro/beetle-wswan-libretro.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd libretro-beetle-wswan
+
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ make -C libretro-beetle-wswan
+}
+
+package() {
+ install -Dm 644 libretro-beetle-wswan/mednafen_wswan_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et: