diff options
author | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
commit | d1fc3393cca72e8e432f827f7624e38734fad6dc (patch) | |
tree | 7b971fbfc203ff017ad78852476bfcccee170971 /repo/polymc/polymc.xibuild | |
parent | ccc722b7ed330198d82a3cf28ead76d6d107a70a (diff) |
moved firmware to separate pacakges
Diffstat (limited to 'repo/polymc/polymc.xibuild')
-rw-r--r-- | repo/polymc/polymc.xibuild | 22 |
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 +} |