Looks like you don't need two keys anymore. For the current version 2.0.3 you can just use the "precursorkey" as downloadKey.
pkgver=2.0.3
...
key=$(curl -s https://www.pureref.com/download.php | awk '/setupPaymentSystem/,/);/' | grep -zoP '\s+"\K[A-z0-9%]+?",' | sed 's/...$//')
source=("${pkgname}-${pkgver}.deb::https://www.pureref.com/files/build.php?build=LINUX64.deb&version=${pkgver}&downloadKey=$key")
sha512sums=('3629b0a0d6ba1a86d316dca3585008e2c486cd8ff280040c2016dba8ef16bd60cd040b175907ccccc8daf5edae9ffafd26b2e745523a704bc1334bf5a0abce43'
Pinned Comments