From 68c82ca46d5877a049a265803ad9f5bbc3b18bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 24 Oct 2022 12:58:55 +0700 Subject: [PATCH] EmulationStation: use create_wrksrc --- srcpkgs/EmulationStation/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/EmulationStation/template b/srcpkgs/EmulationStation/template index e117d9b470d..fbc9c34e3e6 100644 --- a/srcpkgs/EmulationStation/template +++ b/srcpkgs/EmulationStation/template @@ -3,6 +3,7 @@ pkgname=EmulationStation version=2.9.4 revision=1 _pugixml_version=1.10 +create_wrksrc=yes build_style=cmake configure_args="-DOpenGL_GL_PREFERENCE=GLVND -Wno-dev" hostmakedepends="pkg-config" @@ -17,9 +18,10 @@ distfiles="https://github.com/RetroPie/EmulationStation/archive/v${version}.tar. checksum="79452f6c1e8aaebe98c19708b3587a0a45330bf20b3301d556285d5cd756fa4a 55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a" -pre_configure() { +post_extract() { + mv EmulationStation-$version/* . rm -rf external/pugixml - mv ../pugixml-${_pugixml_version} external/pugixml + mv pugixml-${_pugixml_version} external/pugixml } post_install() {