fix: fuck gnu install and fatpak type:archive

This commit is contained in:
DarkCat09 2025-03-07 17:27:19 +04:00
parent f76f96b2dc
commit 044ae56c83
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82

View file

@ -14,16 +14,18 @@ modules:
buildsystem: simple
sources:
- type: archive
strip-components: 0
url: https://pkg.dc09.ru/openj9/jre.tar.zst
sha256: b9e288ea41dedc3ba3090299a2c90185dbe155c33219ced67ed1a99dc4751125
build-commands:
- './bin/java --version'
- 'install -D -t /app/lib/jvm/openj9 ./*'
- 'ln -s /app/lib/jvm/openj9/bin/java /usr/bin/java'
- 'mkdir -p /app/lib/jvm/openj9'
- 'cp -r ./* /app/lib/jvm/openj9'
- name: tesl-build
buildsystem: simple
sources:
- type: archive
strip-components: 0
url: https://pkg.dc09.ru/openj9/jdk.tar.zst
sha256: 4b80961f6b89bac2ced31da10c09b985fa88aed0ff4902bf293693c168cc30f1
dest: jdk
@ -36,7 +38,7 @@ modules:
- 'java --version'
- 'cd src'
- './gradlew shadowJar'
- 'find ./build/libs/ -name "TESL*.jar" -type f -exec install -D {} /app/tesl.jar \;'
- 'find ./build/libs/ -name "TESL*.jar" -type f -exec install -D -m 644 {} /app/tesl.jar \;'
- name: tesl-run
buildsystem: simple
sources: