summaryrefslogtreecommitdiff
path: root/repo/polymc
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
commitd1fc3393cca72e8e432f827f7624e38734fad6dc (patch)
tree7b971fbfc203ff017ad78852476bfcccee170971 /repo/polymc
parentccc722b7ed330198d82a3cf28ead76d6d107a70a (diff)
moved firmware to separate pacakges
Diffstat (limited to 'repo/polymc')
-rw-r--r--repo/polymc/polymc.xibuild22
1 files changed, 22 insertions, 0 deletions
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
+}