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