Arch Linux package in releases
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / publish (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubel 2026-10-18 02:07:00 +03:00
parent 8188b584aa
commit 1afa41f4c9
3 changed files with 14 additions and 2 deletions

View file

@ -51,12 +51,13 @@ jobs:
cp -r packaging/icons packaging/*.desktop examples "dist/${name}/"
tar -C dist -czf "dist/${name}.tar.gz" "${name}"
rm -rf "dist/${name}"
- name: deb and rpm
- name: deb, rpm and Arch Linux packages
run: |
curl -fsSL -o /tmp/nfpm.deb https://github.com/goreleaser/nfpm/releases/download/v2.48.0/nfpm_2.48.0_amd64.deb
sudo dpkg -i /tmp/nfpm.deb
nfpm package -f packaging/nfpm.yaml -p deb -t dist/
nfpm package -f packaging/nfpm.yaml -p rpm -t dist/
nfpm package -f packaging/nfpm.yaml -p archlinux -t dist/
- name: AppImage
run: packaging/build-appimage.sh dist
- uses: actions/upload-artifact@v7

View file

@ -46,6 +46,7 @@ Packages for every release are on the [Releases](https://github.com/vrubelroman/
| --- | --- |
| Debian / Ubuntu | `sudo apt install ./chesspenguin_<version>_amd64.deb` |
| Fedora / openSUSE | `sudo dnf install ./chesspenguin-<version>-1.x86_64.rpm` |
| Arch Linux | `sudo pacman -U ./chesspenguin-<version>-1-x86_64.pkg.tar.zst` |
| Any distribution | `chmod +x ChessPenguin-<version>-x86_64.AppImage && ./ChessPenguin-<version>-x86_64.AppImage` |
| Flatpak | `flatpak install --user ChessPenguin-<version>-x86_64.flatpak` |
| Windows | unzip `ChessPenguin-<version>-windows-x86_64.zip`, run `ChessPenguin.exe` |

View file

@ -1,5 +1,5 @@
# deb and rpm packages (https://nfpm.goreleaser.com). Run from the repository root:
# VERSION=0.1.0 nfpm package -f packaging/nfpm.yaml -p deb -t dist/
# VERSION=0.1.0 nfpm package -f packaging/nfpm.yaml -p deb -t dist/ (deb, rpm, archlinux)
name: chesspenguin
arch: amd64
platform: linux
@ -54,6 +54,7 @@ overrides:
- libc6
- libasound2 | libasound2t64
- libxkbcommon0
- libdbus-1-3
recommends:
- libvulkan1
- libegl1
@ -61,6 +62,15 @@ overrides:
depends:
- alsa-lib
- libxkbcommon
- dbus-libs
recommends:
- vulkan-loader
- mesa-libEGL
archlinux:
depends:
- glibc
- gcc-libs
- alsa-lib
- libxkbcommon
- dbus
- hicolor-icon-theme