grafx2: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:06 +07:00
parent 32d442f3d1
commit b179dc76d7

View file

@ -3,7 +3,7 @@ pkgname=grafx2
version=2.6
revision=2
_recoil_version=4.3.1
wrksrc="grafX2-v${version}"
create_wrksrc=yes
build_wrksrc="src"
build_style=gnu-makefile
make_build_args="API=sdl2"
@ -21,7 +21,8 @@ checksum="1d679216e481b0c22d1d160eb1f66ed6ef2c1ec4eda6f5c0f2ec406d16045534
8f64fd21bafa180e6cbac5853ef65453f080385b3c53600af8360e938668e574"
post_extract() {
mv ../recoil-${_recoil_version} 3rdparty/
mv grafX2-v$version/* .
mv recoil-${_recoil_version} 3rdparty/
touch 3rdparty/recoil-${_recoil_version}/.ok
}