parent
9561114b8d
commit
1938f9ad6f
1 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'minetest'
|
||||
pkgname=minetest
|
||||
version=0.4.17.1
|
||||
revision=1
|
||||
version=5.0.0
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DRUN_IN_PLACE=0 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -9,18 +9,18 @@ makedepends="LuaJIT-devel MesaLib-devel freetype-devel gmp-devel irrlicht-devel
|
|||
libcurl-devel libjpeg-turbo-devel libopenal-devel libvorbis-devel lua52-devel
|
||||
sqlite-devel"
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
short_desc="An InfiniMiner/Minecraft inspired game"
|
||||
short_desc="InfiniMiner/Minecraft inspired game"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.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="cd25d40c53f492325edabd2f6397250f40a61cb9fe4a1d4dd6eb030e0d1ceb59
|
||||
f0ab07cb47c1540b2016bf76a36e2eec28b0ea7827bf66fc5447e0c5e5d4495d"
|
||||
https://github.com/minetest/minetest_game/archive/${version}.tar.gz>minetest_game-${version}.tar.gz"
|
||||
checksum="1ba816f77dc9dbd5a4995f0c1d482f8f22b9aa75b6d6999dbfd1f3d698363d0a
|
||||
83688d802f9d8308acf6f95e6845cdbe1ee1bc088a963a30f94cf72ec7265cf8"
|
||||
|
||||
pre_install() {
|
||||
# Install the minetest_game subgame.
|
||||
tar -xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/minetest_game-${version%.*}.tar.gz
|
||||
tar -xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/minetest_game-${version}.tar.gz
|
||||
vmkdir usr/share/minetest/games/minetest_game
|
||||
vcopy minetest_game-${version%.*}/* usr/share/minetest/games/minetest_game
|
||||
vcopy minetest_game-${version}/* usr/share/minetest/games/minetest_game
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue