From 443291abf05cf1ace0a8484d0181c73117ff8dfb 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 08:58:46 +0700 Subject: [PATCH] dolphin-emu: use create_wrksrc --- srcpkgs/dolphin-emu/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 2b3a783943b..7ea197ceb2a 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -6,7 +6,7 @@ _dolphin_commit=8ecfa537a242de74d2e372e30d9d79b14584b2fb _mgba_commit=40d4c430fc36caeb7ea32fd39624947ed487d2f2 #Version/hash pair can be found at https://dolphin-emu.org/download/ archs="x86_64* aarch64* ppc64le* i686*" -wrksrc="dolphin-${_dolphin_commit}" +create_wrksrc=yes build_style=cmake configure_args="-DUSE_SHARED_ENET=ON -DDOLPHIN_WC_DESCRIBE=${version%.*}-${version##*.} @@ -35,8 +35,9 @@ case "$XBPS_TARGET_MACHINE" in esac post_extract() { + mv dolphin-${_dolphin_commit}/* . rmdir Externals/mGBA/mgba - mv ../mgba-${_mgba_commit} Externals/mGBA/mgba + mv mgba-${_mgba_commit} Externals/mGBA/mgba } post_install() {