Switch to new download format and rebuild with automatic stripping
This commit is contained in:
@@ -1,10 +1,38 @@
|
|||||||
name: prism-launcher
|
name: prism-launcher
|
||||||
description: Open source Minecraft launcher with the ability to manage multiple instances, accounts and mods
|
description: Open source Minecraft launcher with the ability to manage multiple instances, accounts and mods
|
||||||
version: 9.4
|
version: "9.4"
|
||||||
|
revision: 2
|
||||||
url: https://prismlauncher.org/
|
url: https://prismlauncher.org/
|
||||||
license: GPL3-only
|
license: GPL3-only
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["cmark","gcc-libs","glibc","hicolor-icon-theme","jre","libglvnd","qt6-5compat","qt6-base","qt6-imageformats","qt6-networkauth","qt6-svg","quazip","tomlplusplus","zlib"]
|
|
||||||
optional_depends: ["glfw","openal","xorg-xrandr"]
|
|
||||||
make_depends: ["cmake","extra-cmake-modules","gamemode","jdk17","scdoc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- cmark
|
||||||
|
- gcc-libs
|
||||||
|
- glibc
|
||||||
|
- hicolor-icon-theme
|
||||||
|
- jre
|
||||||
|
- libglvnd
|
||||||
|
- qt6-5compat
|
||||||
|
- qt6-base
|
||||||
|
- qt6-imageformats
|
||||||
|
- qt6-networkauth
|
||||||
|
- qt6-svg
|
||||||
|
- quazip
|
||||||
|
- tomlplusplus
|
||||||
|
- zlib
|
||||||
|
optional_depends:
|
||||||
|
- glfw
|
||||||
|
- openal
|
||||||
|
- xorg-xrandr
|
||||||
|
make_depends:
|
||||||
|
- cmake
|
||||||
|
- extra-cmake-modules
|
||||||
|
- gamemode
|
||||||
|
- jdk17
|
||||||
|
- scdoc
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/PrismLauncher/PrismLauncher/releases/download/${BPM_PKG_VERSION}/PrismLauncher-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 77ab52239c2a2a9f77d7c4607e1d9cf40970f9240d2f5061b116a7b1b8fd0277
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/PrismLauncher/PrismLauncher/releases/download/${BPM_PKG_VERSION}/PrismLauncher-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user