mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-16 05:00:49 +00:00
fix actions
This commit is contained in:
12
.github/workflows/nightly.yml
vendored
12
.github/workflows/nightly.yml
vendored
@@ -56,14 +56,14 @@ jobs:
|
||||
- name: Compile .ISS
|
||||
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
|
||||
with:
|
||||
path: packages/windows/windows-setup-nigthly.iss
|
||||
path: packages\windows\windows-setup-nigthly.iss
|
||||
options: '/O+ /F"LCE_Qt_Launcher_Windows_Nigthly_Setup"'
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: installer-windows
|
||||
path: packages/windows/*.exe
|
||||
path: packages\windows\Output\*.exe
|
||||
|
||||
# --- JOB 3 : Making Arch Linux Packages ---
|
||||
build_arch_installer:
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
Experimental Build (Nightly) generated by GitHub Action. The nighy build are experimental nuitka compilation from the nighly branch.
|
||||
Package for GNU/Linux and Installer for Windows is coming late. Now includes installers."
|
||||
files: |
|
||||
./artifacts/*.exe
|
||||
./artifacts/*.zip
|
||||
./artifacts/*.pkg.tar.zst
|
||||
./artifacts/*.tar.gz
|
||||
./artifacts/****.exe
|
||||
./artifacts/****.zip
|
||||
./artifacts/****.pkg.tar.zst
|
||||
./artifacts/****.tar.gz
|
||||
63
.github/workspace/PKGBUILD
vendored
63
.github/workspace/PKGBUILD
vendored
@@ -1 +1,62 @@
|
||||
../../packages/linux/nigthly/PKGBUILD
|
||||
# Maintainer: Xgui4
|
||||
pkgname=lce-qt-launcher-git
|
||||
pkgver=r149.804311b
|
||||
pkgrel=1
|
||||
pkgdesc="A custom Minecraft LCE Launcher written in Python and Qt with GNU/Linux support in mind. (Nigthly/Git Build)"
|
||||
arch=('any')
|
||||
url="https://github.com/xgui4/LCE-Qt-Launcher"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=(
|
||||
'python'
|
||||
'pyside6'
|
||||
'python-requests'
|
||||
'python-platformdirs'
|
||||
'python-rich'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
'bash'
|
||||
'curl'
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-hatchling'
|
||||
'python-wheel'
|
||||
'qt6-tools'
|
||||
)
|
||||
optdepends=(
|
||||
'wine: Allow to launch non-Linux-native Minecraft LCE ports'
|
||||
'steam: Allow for Steam integration'
|
||||
'ttc-monocraft: Minecraft Font for the UI (Availaible in the AUR)'
|
||||
)
|
||||
|
||||
provides=("${pkgname%-git}" "${pkgname%-nightly}" "${pkgname%}")
|
||||
conflicts=("${pkgname%-dev}" "${pkgname%-stable}" "${pkgname%}")
|
||||
source=("${pkgname}::git+${url}.git#branch=nightly")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
# cutting off 'foo-' prefix that presents in the git tag
|
||||
git describe --long --abbrev=7 | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
rm -rf dist/ build/
|
||||
/usr/bin/python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
/usr/bin/python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -d "$pkgdir/opt/lce_qt_launcher"
|
||||
cp -r data assets "$pkgdir"
|
||||
install -Dm644 "data/lce_qt_launcher.ini" "$pkgdir/etc/lce_qt_launcher.ini"
|
||||
install -Dm644 "packages/io.github.xgui4.lce_qt_launcher.desktop" "$pkgdir/usr/share/applications/io.github.xgui4.lce_qt_launcher.desktop"
|
||||
install -Dm644 "packages/lce_inst-mime.xml" "$pkgdir/usr/share/mime/packages/io.github.xgui4.lce_qt_launcher.gtk.metainfo.xml"
|
||||
install -Dm644 "license.md" -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -Dm644 "readme.md" "code-of-conduct.md" -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
install -Dm644 "packages/io.github.xgui4.lce_qt_launcher.metainfo.xml" "$pkgdir/usr/share/metainfo/io.github.xgui4.lce_qt_launcher.gtk.metainfo.xml"
|
||||
install -Dm644 "assets/io.github.xgui4.lce_qt_launcher.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/io.github.xgui4.lce_qt_launcher.png"
|
||||
install -Dm644 "assets/lce_inst.png" "$pkgdir/usr/share/icons/hicolor/128x128/mimetypes/application-x-lce_inst.png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user