EmulationStation: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-24 12:58:55 +07:00
parent 09d43e9daf
commit 68c82ca46d
1 changed files with 4 additions and 2 deletions

View File

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