New Version
sha256sum: 612fbeb96a860caf9c4e50c10e66d309739dae0a8b4a24cf2c5f642687b8d4f3
version: 1.0.9265619
Git Clone URL: | https://aur.archlinux.org/guilded.git (read-only, click to copy) |
---|---|
Package Base: | guilded |
Description: | Chat for Gaming Communities |
Upstream URL: | https://www.guilded.gg/ |
Keywords: | chat community gaming |
Licenses: | nonfree |
Submitter: | GI_Jack |
Maintainer: | silverhikari |
Last Packager: | silverhikari |
Votes: | 9 |
Popularity: | 0.000134 |
First Submitted: | 2021-02-07 03:57 (UTC) |
Last Updated: | 2024-10-01 21:00 (UTC) |
New Version
sha256sum: 612fbeb96a860caf9c4e50c10e66d309739dae0a8b4a24cf2c5f642687b8d4f3
version: 1.0.9265619
New version again
pkgver=1.0.9265077
sha256sums=('4695dff7e7b993fd1b127cbc0f387004b7aac5f817aa17fc4d246041ab1fdba2')
I modified the checkupdate script to automatically replace the values in PKGBUILD and .SRCINFO for easier updating in the future:
#!/bin/bash
TMP_PATH=/tmp/guildedupdate
cwd=$(pwd)
curversion=$(awk -F'=' '/pkgver=/ { print $2 }' PKGBUILD)
curhash=$(awk -F'=' '/sha256sums = / { print $2 }' .SRCINFO | cut -c 2-)
rm -rf $TMP_PATH
mkdir -p $TMP_PATH
cd $TMP_PATH || exit
wget https://www.guilded.gg/downloads/Guilded-Linux.deb
hash=$(sha256sum Guilded-Linux.deb | awk '{ print $1 }')
ar x Guilded-Linux.deb
tar xzf control.tar.gz
version=$(awk '/^Version:/ { print $2 }' control | cut -d '-' -f1 | sed s/~release//)
echo "--------------------"
echo "sha256sum: $hash"
echo "version: $version"
if [ "$version" != "$curversion" ]; then
echo "Package is outdated! Updating with new values..."
sed -i "s/$curversion/$version/g" $cwd/.SRCINFO
sed -i "s/$curversion/$version/g" $cwd/PKGBUILD
sed -i "s/$curhash/$hash/g" $cwd/.SRCINFO
sed -i "s/$curhash/$hash/g" $cwd/PKGBUILD
echo "Package versions updated"
else
echo "Package is up to date!"
fi
echo "--------------------"
rm -rf $TMP_PATH
I get an error on the sha256, it shows as: 59beb076164432ab4e325117689ce873c60bbd5dd28f553c9b20a5716e156ed5 That is also the sha256 for the direct download from guilded.gg What happened?
New version.
pkgver=1.0.9235285
sha256sums=('d52d1f8f7bbfc1ce43d0f161a407bd68a3f8f04c08f6a5c9dd5cf273d92d29c7')
New version.
pkgver=1.0.9223341
sha256sums=('8b1ac81ce6c61f63c66b5b00e68fd67203cd2e20486b29d7da7ac7e28f21214f')
1.0.9218125-1 does not currently pass sha256sums integrity check:
==> Making package: guilded 1.0.9218125-1 (Sat 09 Sep 2023 09:41:47 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading guilded-1.0.9218125.deb...
09/09 21:41:47 [NOTICE] Downloading 1 item(s)
[#1b494d 54MiB/70MiB(77%) CN:1 DL:35MiB]
09/09 21:41:49 [NOTICE] Download complete: /home/kusoneko/.cache/pikaur/build/guilded/guilded-1.0.9218125.deb.part
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
1b494d|OK | 35MiB/s|/home/kusoneko/.cache/pikaur/build/guilded/guilded-1.0.9218125.deb.part
Status Legend:
(OK):download completed.
==> Validating source files with sha256sums...
guilded-1.0.9218125.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
And a new version again...
pkgver=1.0.9219633
sha256sums=('772723b9775a36394285b0fa604beb7fd1098dc1961ec863fc136a42ad2c42aa')
New version and here's the changes:
pkgver=1.0.9218125
sha256sums=('ce419d04743f417c902862cc9af6b77817b8e80292d24d58111dbea6cb86fba6')
Apologies, I flagged the package out-of-date by mistake, got mixed up with local and remote versions.
Pinned Comments