mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
minetest: use create_wrksrc
This commit is contained in:
parent
c59d0f46dd
commit
4c005470cc
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue