MultiMC: update to 0.5.0.

This commit is contained in:
RunningDroid 2017-01-29 19:29:03 -05:00
parent 3f6335807e
commit c278fef453
1 changed files with 8 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'MultiMC' # Template file for 'MultiMC'
pkgname=MultiMC pkgname=MultiMC
version=0.4.11 version=0.5.0
revision=1 revision=1
_commithashmmc="a3cd3d5ff18215a475ed6b5f231f3f02ccd668f7" _commithashmmc="b2dbaaa9e291ac36dc4aeeeed1357fb7d5c6dbc9"
_commithashnbt="5d0ffb50a526173ce58ae57136bf5d79a7e1920d" _commithashnbt="4b305bbd2ac0e7a26987baf7949a484a87b474d4"
build_style=cmake build_style=cmake
hostmakedepends="openjdk xxd git-all" hostmakedepends="openjdk xxd git-all"
makedepends="qt5-devel qt5-x11extras-devel qt5-svg-devel gtk+-devel" makedepends="qt5-devel qt5-x11extras-devel qt5-svg-devel gtk+-devel"
@ -13,14 +13,14 @@ maintainer="Spencer H <spencernh77@gmail.com>"
license="Apache 2.0" license="Apache 2.0"
homepage="http://multimc.org" homepage="http://multimc.org"
distfiles="https://github.com/${pkgname}/${pkgname}5/archive/${_commithashmmc}.tar.gz https://github.com/${pkgname}/libnbtplusplus/archive/${_commithashnbt}.tar.gz" distfiles="https://github.com/${pkgname}/${pkgname}5/archive/${_commithashmmc}.tar.gz https://github.com/${pkgname}/libnbtplusplus/archive/${_commithashnbt}.tar.gz"
checksum="3c5d7ecf7d5b9d25304284b76cf15f70c9aae70be824fe351ff28d9a3851801c 893a4e639f300a121237e4cc83c39dd5701e7119ea79216f2e8fd1906dc2f1f4" checksum="17de8bbf97db22c00097ccca478b356e30aa5c0caa07bf677bfbb1846fda34f4 844b2351461ebedde839bdd754e3e712c7ebd214d92cd0eb34b13a2ee7f16f61"
wrksrc=${pkgname}5-${_commithashmmc} wrksrc=${pkgname}5-${_commithashmmc}
skip_extraction="${_commithashnbt}.tar.gz" skip_extraction="${_commithashnbt}.tar.gz"
pre_configure() { pre_configure() {
export JAVA_HOME=/usr/lib/jvm/openjdk export JAVA_HOME=/usr/lib/jvm/openjdk
export PATH=$PATH:$JAVA_HOME/bin export PATH=$PATH:$JAVA_HOME/bin
tar zxvf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_commithashnbt}.tar.gz -C ${wrksrc}/depends/libnbtplusplus --strip-components 1 tar zxvf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_commithashnbt}.tar.gz -C ${wrksrc}/libraries/libnbtplusplus --strip-components 1
} }
do_install() { do_install() {
@ -28,8 +28,9 @@ do_install() {
vmkdir usr/share/multimc/jars vmkdir usr/share/multimc/jars
vcopy build/MultiMC usr/share/multimc vcopy build/MultiMC usr/share/multimc
vcopy build/jars/*.jar usr/share/multimc/jars vcopy build/jars/*.jar usr/share/multimc/jars
vinstall build/librainbow.so 755 /usr/lib vinstall build/libMultiMC_gui.so 755 /usr/lib
vinstall build/libMultiMC_rainbow.so 755 /usr/lib
vinstall build/libMultiMC_logic.so 755 /usr/lib vinstall build/libMultiMC_logic.so 755 /usr/lib
vinstall build/libnbt++.so 755 /usr/lib vinstall build/libMultiMC_nbt++.so 755 /usr/lib
vbin ${FILESDIR}/MultiMC.sh MultiMC vbin ${FILESDIR}/MultiMC.sh MultiMC
} }