35 lines
893 B
Plaintext
35 lines
893 B
Plaintext
# Description: Minecraft launcher with ability to manage multiple instances.
|
|
# URL: https://multimc.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: openjdk8 qt5
|
|
|
|
name=multimc
|
|
version=0.6.4.r8
|
|
release=1
|
|
source=(http://crux.ster.zone/downloads/$name/MultiMC5-${version}.ge4599ee2.tar.xz)
|
|
|
|
build() {
|
|
cd MultiMC5
|
|
|
|
export JAVA_HOME="/usr/lib/java/openjdk8/"
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DMultiMC_UPDATER=OFF \
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
-DMultiMC_LAYOUT=lin-system \
|
|
-DMultiMC_NOTIFICATION_URL:STRING=http://files.multimc.org/notifications.json
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -D $SRC/MultiMC5/application/resources/multimc/scalable/multimc.svg \
|
|
$PKG/usr/share/pixmaps/multimc.svg
|
|
|
|
install -D $SRC/MultiMC5/application/package/linux/multimc.desktop \
|
|
$PKG/usr/share/applications/multimc.desktop
|
|
}
|