minetest: update to 0.4.17.1. (#1199)

This commit is contained in:
travankor 2018-07-27 02:00:16 -07:00 committed by cr6git
parent beeea6aa05
commit 5391fcd980

View File

@ -1,6 +1,6 @@
# Template file for 'minetest'
pkgname=minetest
version=0.4.17
version=0.4.17.1
revision=1
build_style=cmake
configure_args="-DRUN_IN_PLACE=0 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1"
@ -14,13 +14,13 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
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="8664cd800ce0a146c6d7d5433b8acc93c145308403b3f6ae7e6b69bd4a53eb72
https://github.com/minetest/minetest_game/archive/${version%.*}.tar.gz>minetest_game-${version%.*}.tar.gz"
checksum="cd25d40c53f492325edabd2f6397250f40a61cb9fe4a1d4dd6eb030e0d1ceb59
f0ab07cb47c1540b2016bf76a36e2eec28b0ea7827bf66fc5447e0c5e5d4495d"
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
}