config files for publication
This commit is contained in:
parent
e777e39cf6
commit
e5436bba68
7 changed files with 127 additions and 14 deletions
35
.github/workflows/snap.yml
vendored
Normal file
35
.github/workflows/snap.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: Build and Publish Snap
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build snap
|
||||
uses: snapcore/action-build@v1
|
||||
id: snapcraft
|
||||
with:
|
||||
snapcraft-args: snap
|
||||
path: .
|
||||
|
||||
- name: Upload snap to Snap Store
|
||||
uses: snapcore/action-publish@v1
|
||||
with:
|
||||
snap: ${{ steps.snapcraft.outputs.snap }}
|
||||
release: candidate
|
||||
store-login: ${{ secrets.STORE_LOGIN }}
|
||||
|
||||
- name: Publish to stable
|
||||
if: ${{ github.event.release.prerelease == false }}
|
||||
uses: snapcore/action-publish@v1
|
||||
with:
|
||||
snap: ${{ steps.snapcraft.outputs.snap }}
|
||||
release: stable
|
||||
store-login: ${{ secrets.STORE_LOGIN }}
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2025 Didictateur
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -1,18 +1,22 @@
|
|||
pkgname=ronrunner
|
||||
pkgver=1.0_beta1
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Ron Runner - Une description courte"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/votreusername/ronrunner"
|
||||
pkgdesc="Lightweight tournament scoring application for Mahjong"
|
||||
arch=('any')
|
||||
url="https://github.com/Didictateur/RonRunner"
|
||||
license=('MIT')
|
||||
source=("https://github.com/votreusername/ronrunner/releases/download/v${pkgver}/ronrunner-${pkgver}.tar.gz")
|
||||
sha256sums=('HASH_A_CALCULER')
|
||||
depends=('python' 'tk')
|
||||
makedepends=('git' 'python-setuptools')
|
||||
source=("git+https://github.com/Didictateur/RonRunner.git#tag=v${pkgver}")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$srcdir/$pkgname"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
install -Dm755 usr/bin/ronrunner "$pkgdir/usr/bin/ronrunner"
|
||||
cd "$srcdir/$pkgname"
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
9
ronrunner_1.0~beta1-1/DEBIAN/changelog
Normal file
9
ronrunner_1.0~beta1-1/DEBIAN/changelog
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
ronrunner (1.0.0-1) stable; urgency=medium
|
||||
|
||||
* Initial release
|
||||
* Add and manage players
|
||||
* Create and edit tournament tables
|
||||
* Automatic score calculation with ranking
|
||||
* Dark modern UI with Segoe UI fonts
|
||||
|
||||
-- Didictateur decosse.adrien@cosmoris.fr Mon, 10 Feb 2026 00:00:00 +0000
|
||||
|
|
@ -1,8 +1,21 @@
|
|||
Package: ronrunner
|
||||
Version: 1.0~beta1-1
|
||||
Section: utils
|
||||
Version: 1.0.0
|
||||
Section: games
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: python3
|
||||
Maintainer: Didictateur
|
||||
Description: RonRunner
|
||||
Depends: python3 (>= 3.8), python3-tk
|
||||
Recommends:
|
||||
Suggests:
|
||||
Maintainer: Didictateur decosse.adrien@cosmoris.fr
|
||||
Homepage: https://github.com/Didictateur/RonRunner
|
||||
Description: Lightweight tournament scoring application for Mahjong
|
||||
RonRunner is a simple and fast Mahjong tournament scoring tool
|
||||
featuring player management, table creation, and automatic score
|
||||
calculation with ranking.
|
||||
.
|
||||
Features:
|
||||
- Add and manage players
|
||||
- Create and edit tournament tables
|
||||
- Automatic score calculation with ranking
|
||||
- Dark modern UI with Segoe UI fonts
|
||||
- Lightweight and fast
|
||||
|
|
|
|||
27
ronrunner_1.0~beta1-1/DEBIAN/copyright
Normal file
27
ronrunner_1.0~beta1-1/DEBIAN/copyright
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: ronrunner
|
||||
Upstream-Contact: Didictateur decosse.adrien@cosmoris.fr
|
||||
Source: https://github.com/Didictateur/RonRunner
|
||||
|
||||
Files: *
|
||||
Copyright: 2025 Didictateur
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
4
ronrunner_1.0~beta1-1/DEBIAN/rules
Normal file
4
ronrunner_1.0~beta1-1/DEBIAN/rules
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
Loading…
Reference in a new issue