[arch-commits] Commit in libretro-melonds (3 files)

Maxime Gauduin alucryd at archlinux.org
Sun Dec 31 19:27:18 UTC 2017


    Date: Sunday, December 31, 2017 @ 19:27:16
  Author: alucryd
Revision: 277612

archrelease: copy trunk to community-x86_64

Added:
  libretro-melonds/repos/
  libretro-melonds/repos/community-x86_64/
  libretro-melonds/repos/community-x86_64/PKGBUILD
    (from rev 277611, libretro-melonds/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: libretro-melonds/repos/community-x86_64/PKGBUILD (from rev 277611, libretro-melonds/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-12-31 19:27:16 UTC (rev 277612)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-melonds
+pkgver=541
+pkgrel=1
+pkgdesc='Nintendo DS core'
+arch=('x86_64')
+url='https://github.com/libretro/melonDS'
+license=('GPL2')
+groups=('libretro')
+depends=('gcc-libs' 'glibc' 'libretro-core-info')
+makedepends=('git')
+_commit='9440f3d5f02d3af049b4610f38f528ce9c57629c'
+source=("libretro-melonds::git+https://github.com/libretro/melonDS.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libretro-melonds
+
+  git rev-list --count HEAD
+}
+
+build() {
+  cd libretro-melonds
+
+  export LDFLAGS="$LDFLAGS -lpthread"
+
+  make
+}
+
+package() {
+  cd libretro-melonds
+
+  install -Dm 644 melonds_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list