parent
493396a219
commit
1cc8bc3346
|
@ -1,12 +1,13 @@
|
|||
# Template file for 'minetest'
|
||||
pkgname=minetest
|
||||
version=5.4.1
|
||||
version=5.5.0
|
||||
revision=1
|
||||
_irrlichtversion=1.9.0mt4
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SERVER=TRUE -DVERSION_EXTRA=_${revision}"
|
||||
hostmakedepends="pkg-config gettext"
|
||||
makedepends="MesaLib-devel freetype-devel gmp-devel irrlicht-devel
|
||||
libcurl-devel libjpeg-turbo-devel libopenal-devel libvorbis-devel lua52-devel
|
||||
makedepends="MesaLib-devel freetype-devel gmp-devel libcurl-devel
|
||||
libjpeg-turbo-devel libopenal-devel libvorbis-devel lua52-devel
|
||||
sqlite-devel libXxf86vm-devel"
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
short_desc="InfiniMiner/Minecraft inspired game"
|
||||
|
@ -14,9 +15,11 @@ maintainer="Nathan <ndowens@artixlinux.org>"
|
|||
license="LGPL-2.1-or-later"
|
||||
homepage="https://www.minetest.net"
|
||||
distfiles="https://github.com/minetest/minetest/archive/${version}.tar.gz
|
||||
https://github.com/minetest/minetest_game/archive/${version}.tar.gz>minetest_game-${version}.tar.gz"
|
||||
checksum="de9e4410583c845c104b4be25f9d0b8743d8573c120149b8910ae2519f9ab14e
|
||||
b4bfa0755b88230cf4bdb6af6a0951dd1248f6cdf87fecc340e43ac12c80b0b2"
|
||||
https://github.com/minetest/minetest_game/archive/${version}.tar.gz>minetest_game-${version}.tar.gz
|
||||
https://github.com/minetest/irrlicht/archive/refs/tags/${_irrlichtversion}.tar.gz"
|
||||
checksum="8b9bef6054c8895cc3329ae6d05cb355eef9c7830600d82dc9eaa4664f87c8f9
|
||||
1e87252e26d6b1d3efe7720e3e097d489339dea4dd25980a828d5da212b01aaa
|
||||
a0e2e5239ebca804adf54400ccaacaf228ec09223cfb2e1daddc9bf2694176e6"
|
||||
|
||||
# LuaJIT enabled causes PIE to
|
||||
# be broken/not-used on aarch64*
|
||||
|
@ -26,11 +29,6 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
post_extract() {
|
||||
mv ../minetest_game-${version} .
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
# Install the minetest_game subgame.
|
||||
vmkdir usr/share/minetest/games/minetest_game
|
||||
vcopy minetest_game-${version}/* usr/share/minetest/games/minetest_game
|
||||
mv ../minetest_game-${version} games/minetest_game
|
||||
mv ../irrlicht-${_irrlichtversion} lib/irrlichtmt
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue