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() {