Merge remote-tracking branch 'origin/master'
All checks were successful
Update packages / update-specs (push) Successful in 17s
All checks were successful
Update packages / update-specs (push) Successful in 17s
This commit is contained in:
44
.gitea/workflows/update.yml
Normal file
44
.gitea/workflows/update.yml
Normal file
@ -0,0 +1,44 @@
|
||||
name: Update packages
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-specs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install alr-spec deps
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3-nvchecker shfmt
|
||||
- name: Install alr-spec
|
||||
run: |
|
||||
curl -L -o /bin/alr-spec https://altlinux.space/aides-community/alr-utils/releases/download/v0.0.4/alr-spec-linux-amd64
|
||||
chmod +x /bin/alr-spec
|
||||
- name: Update
|
||||
run: |
|
||||
set -e
|
||||
PACKAGES=(
|
||||
"discord-bin"
|
||||
"firefox-bin"
|
||||
"telegram-desktop-bin"
|
||||
)
|
||||
for pkg in "${PACKAGES[@]}"
|
||||
do
|
||||
echo "Updating $pkg"
|
||||
alr-spec update-package --keep-skip-checksums "./$pkg"
|
||||
done
|
||||
- name: Commit and push if changes
|
||||
run: |
|
||||
git config user.name "gitea"
|
||||
git config user.email "admin@plemya-x.ru"
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
git add .
|
||||
git commit -m "Automatic package updates"
|
||||
git push
|
||||
else
|
||||
echo "No changes to commit."
|
||||
fi
|
4
discord-bin/.nvchecker.toml
Normal file
4
discord-bin/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[discord-linux-tar]
|
||||
source = "httpheader"
|
||||
url = "https://discord.com/api/download?platform=linux&format=tar.gz"
|
||||
regex = "discord-([0-9.]+).tar.gz"
|
@ -1,6 +1,6 @@
|
||||
name='discord-bin'
|
||||
version='0.0.101'
|
||||
release='1'
|
||||
version=0.0.102
|
||||
release=1
|
||||
desc='All-in-one voice and text chat for gamers'
|
||||
desk_ru='Всё в одном голосовое и текстовое общение для игроков'
|
||||
homepage='https://discord.com/'
|
||||
@ -90,4 +90,3 @@ files() {
|
||||
echo ./usr/share/applications/discord.desktop
|
||||
echo ./usr/share/icons/hicolor/256x256/apps/discord.png
|
||||
}
|
||||
|
||||
|
4
firefox-bin/.nvchecker.toml
Normal file
4
firefox-bin/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[firefox]
|
||||
source = "regex"
|
||||
url = "https://product-details.mozilla.org/1.0/firefox_versions.json"
|
||||
regex = '"LATEST_FIREFOX_VERSION": "([0-9.]+)"'
|
@ -1,6 +1,6 @@
|
||||
name='firefox-bin'
|
||||
version='140.0.2'
|
||||
release='1'
|
||||
version=140.0.4
|
||||
release=1
|
||||
desc='Fast, Private & Safe Web Browser.'
|
||||
desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.'
|
||||
homepage='https://www.mozilla.org/firefox/'
|
||||
@ -78,7 +78,7 @@ package() {
|
||||
# Icons
|
||||
for i in 16x16 32x32 48x48 64x64 128x128; do
|
||||
install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
|
||||
ln -s /opt/firefox/browser/chrome/icons/default/default${i/x*}.png \
|
||||
ln -s /opt/firefox/browser/chrome/icons/default/default${i/x*/}.png \
|
||||
"$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png
|
||||
done
|
||||
|
||||
|
5
telegram-desktop-bin/.nvchecker.toml
Normal file
5
telegram-desktop-bin/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[telegram-desktop-bin]
|
||||
source = "github"
|
||||
github = "telegramdesktop/tdesktop"
|
||||
use_latest_release = true
|
||||
prefix = "v"
|
@ -1,6 +1,6 @@
|
||||
name='telegram-desktop-bin'
|
||||
version='5.15.4'
|
||||
release='1'
|
||||
version=5.16.4
|
||||
release=1
|
||||
desc='Official desktop version of Telegram messaging app - Static binaries'
|
||||
desc_ru='Официальный клиент для Telegram мессенджера - статические бинарники'
|
||||
homepage='https://github.com/telegramdesktop/tdesktop'
|
||||
|
Reference in New Issue
Block a user