[arch-commits] Commit in libretro-melonds/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Mar 6 15:38:03 UTC 2022
Date: Sunday, March 6, 2022 @ 15:38:03
Author: felixonmars
Revision: 1142435
archrelease: copy trunk to community-staging-x86_64
Added:
libretro-melonds/repos/community-staging-x86_64/
libretro-melonds/repos/community-staging-x86_64/PKGBUILD
(from rev 1142433, libretro-melonds/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libretro-melonds/repos/community-staging-x86_64/PKGBUILD (from rev 1142433, libretro-melonds/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-03-06 15:38:03 UTC (rev 1142435)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-melonds
+pkgver=1989
+pkgrel=2
+pkgdesc='Nintendo DS core'
+arch=(x86_64)
+url=https://github.com/libretro/melonDS
+license=(GPL2)
+groups=(libretro)
+depends=(
+ libgl
+ libretro-core-info
+)
+makedepends=(
+ git
+ libglvnd
+)
+_commit=0053daa700018657bf2e47562b3b4eb86f9b9d03
+source=(libretro-melonds::git+https://github.com/libretro/melonDS.git#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd libretro-melonds
+
+ git rev-list --count HEAD
+}
+
+build() {
+ export LDFLAGS="$LDFLAGS -lpthread"
+
+ make -C libretro-melonds
+}
+
+package() {
+ install -Dm 644 libretro-melonds/melonds_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list