[arch-commits] Commit in libretro-duckstation (3 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 26 13:29:04 UTC 2020
Date: Wednesday, August 26, 2020 @ 13:29:04
Author: alucryd
Revision: 688927
archrelease: copy trunk to community-x86_64
Added:
libretro-duckstation/repos/
libretro-duckstation/repos/community-x86_64/
libretro-duckstation/repos/community-x86_64/PKGBUILD
(from rev 688926, libretro-duckstation/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: libretro-duckstation/repos/community-x86_64/PKGBUILD (from rev 688926, libretro-duckstation/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2020-08-26 13:29:04 UTC (rev 688927)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-duckstation
+pkgver=2105
+pkgrel=1
+pkgdesc='Sony PlayStation core'
+arch=(x86_64)
+url=https://github.com/stenzek/duckstation
+license=(GPL3)
+groups=(libretro)
+depends=(
+ gcc-libs
+ glibc
+ libretro-core-info
+)
+makedepends=(
+ cmake
+ git
+)
+_commit=79aaf908a602e03a16698976791c82baafa794d0
+source=(git+https://github.com/stenzek/duckstation.git#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd duckstation
+
+ git rev-list --count HEAD
+}
+
+build() {
+ cmake -S duckstation -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_LIBRETRO_CORE=ON
+ make -C build
+}
+
+package() {
+ install -Dm 644 build/duckstation_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list