You are not logged in.
pkgname=tutanota-desktop
pkgver=317.251217.0
source=("git+https://github.com/tutao/tutanota.git#tag=$pkgname-release-$pkgver")
sha256sums=('2363a074766404d847dd758345ef4defd692fe2d8281186c33c8a51d75e5c529') Above is an excerpt of a PKGBUILD.
I have two related questions: how can I calculate the sha256sum of a github tag in order to insert it in a PKGBUILD; and how does makepkg calculate it?
I guess there is a plain and obvious answer somewhere but it is not occurring to me!
Last edited by archdub (2026-01-03 20:24:18)
Offline
Offline
Thanks a lot!
Closing it.
Offline
You can use `makepkg -g >> PKGBUILD` or `updpkgsums` (from pacman-contrib) to generate the checksums.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You can use `makepkg -g >> PKGBUILD` or `updpkgsums` (from pacman-contrib) to generate the checksums.
Thanks a lot for that.
Offline