You are not logged in.

#1 2026-01-03 18:15:16

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 110

[solved] sha256sum of a github tag

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

#2 2026-01-03 18:21:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,418

Re: [solved] sha256sum of a github tag

Offline

#3 2026-01-03 20:23:34

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 110

Re: [solved] sha256sum of a github tag

Thanks a lot!
Closing it.

Offline

#4 2026-01-03 20:58:18

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,216
Website

Re: [solved] sha256sum of a github tag

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

#5 2026-01-03 21:57:18

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 110

Re: [solved] sha256sum of a github tag

WorMzy wrote:

You can use `makepkg -g >> PKGBUILD` or `updpkgsums` (from pacman-contrib) to generate the checksums.

Thanks a lot for that.

Offline

Board footer

Powered by FluxBB