36 lines
988 B
Bash
36 lines
988 B
Bash
# Template file for 'PolyMC'
|
|
pkgname=PolyMC
|
|
version=1.4.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DLauncher_BUILD_PLATFORM=Void
|
|
-DLauncher_VERSION_BUILD=${revision}"
|
|
hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
|
|
qt5-qmake scdoc"
|
|
makedepends="qt5-devel"
|
|
depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
|
|
short_desc="Custom launcher for Minecraft"
|
|
maintainer="Philipp David <pd@3b.pm>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://polymc.org/"
|
|
distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
|
|
checksum=c7f893e2f8641abcb3bd7fe2ffeda1c7d99ff7e8774c76f9b53f6629e83eab2f
|
|
|
|
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DBUILD_TESTING=0"
|
|
fi
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
|
|
esac
|
|
|
|
post_patch() {
|
|
vsed -i buildconfig/BuildConfig.cpp.in \
|
|
-e 's/+build\./_/'
|
|
rm -rf .git
|
|
}
|
|
|
|
post_install() {
|
|
vdoc ${FILESDIR}/README.voidlinux
|
|
}
|