add progress estimation based on several samples

This commit is contained in:
Matthieu Jolimaitre 2025-08-01 11:10:10 +02:00
parent 669b9ac56a
commit f58632c025
3 changed files with 24 additions and 8 deletions

View file

@ -16,12 +16,12 @@ version="$(./regar -V)"
sed -E -i ../src/PKGBUILD -e "s/^sha256sums=.*\$/sha256sums=(\"$checksum\")/g"
sed -E -i ../src/PKGBUILD -e "s/^pkgver=.*\$/pkgver=$version/g"
git clone ssh://aur@aur.archlinux.org/regar-bin.git
cd regar-bin
cp ../../src/PKGBUILD ./PKGBUILD
makepkg -sf
makepkg --printsrcinfo > .SRCINFO
exit
added="$(git add -v PKGBUILD .SRCINFO)"
if [ ".$added" != "." ]
then

View file

@ -1,13 +1,13 @@
# Maintainer: JOLIMAITRE Matthieu <matthieu@imagevo.fr>
pkgname="regar-bin"
pkgver=1.1.0
pkgver=1.1.2
pkgrel=1
pkgdesc="Cli for watching file changes and running commands periodically."
url="https://git.barnulf.net/mb/regar"
arch=("x86_64")
license=('MIT')
source=("https://git.barnulf.net/api/packages/mb/generic/regar/latest/regar-x86_64-unknown-linux-gnu.zip")
sha256sums=("c9b125d06f5085561e80335435baa57697442c3ba0d219cea854eff84f4af1e2")
sha256sums=("a8556e48382320432b0083d4aaa1af2e45097aa02a01340690b28f78197468bd")
options=("!strip")
provides=("regar")