minetest: use create_wrksrc
This commit is contained in:
parent
c59d0f46dd
commit
4c005470cc
|
@ -3,6 +3,8 @@ pkgname=minetest
|
|||
version=5.6.1
|
||||
revision=1
|
||||
_irrlichtversion=1.9.0mt8
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="${pkgname}-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SERVER=TRUE -DVERSION_EXTRA=_${revision}"
|
||||
hostmakedepends="pkg-config gettext"
|
||||
|
@ -30,6 +32,6 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
post_extract() {
|
||||
mv ../minetest_game-${version} games/minetest_game
|
||||
mv ../irrlicht-${_irrlichtversion} lib/irrlichtmt
|
||||
mv minetest_game-${version} "${build_wrksrc}/games/minetest_game"
|
||||
mv irrlicht-${_irrlichtversion} "${build_wrksrc}/lib/irrlichtmt"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue