From d1fc3393cca72e8e432f827f7624e38734fad6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 9 Jun 2022 14:35:52 +0100 Subject: moved firmware to separate pacakges --- repo/polymc/polymc.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/polymc/polymc.xibuild (limited to 'repo/polymc') diff --git a/repo/polymc/polymc.xibuild b/repo/polymc/polymc.xibuild new file mode 100644 index 0000000..8d0b612 --- /dev/null +++ b/repo/polymc/polymc.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="polymc" +DESC="Custom launcher for Minecraft" + +MAKEDEPS="cmake qt5-qtbase qt5-qttools adoptopenjdk11" + +PKG_VER=1.3.1 +SOURCE="https://github.com/PolyMC/PolyMC/releases/download/${PKG_VER}/PolyMC-${PKG_VER}.tar.gz" + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} -- cgit v1.2.1