dolphin-emu: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-24 08:58:46 +07:00
parent 9ba8b1d8a3
commit 443291abf0
1 changed files with 3 additions and 2 deletions

View File

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